mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
1.7 KiB
1.7 KiB
Setting up Travis CI
Packages under the atom org should use Travis CI for builds.
Currently we have a Travis Pro account since the repositories are private. This process will be simpler and have fewer steps once the package repos are made public.
Each package builds using the build-package script, any changes to the build should be made in that script and will affect all package builds immediately.
Each package builds against the latest successful build of atom@master. The master builds are stored in the atom-master-builds repo as releases named by the SHA-1 built.
Configuring a package
- Run
cd ~/github/my-packageto navigate to the package repo locally - Run
apm testto verify that the package currently builds via apm - Add the package repo to the Travis CI team
- Run
gem install travisto install the travis gem - Run
travis login --proand log in using the atom-build user and the password from the Shared-Developers folder in LastPass - Run
apm cito add a.travis.ymlfile to the repo and to configure Travis - Log into Travis as the
atom-builduser and you should now see the package listed and building