Files
atom/docs/setting-up-travis.md
2013-12-10 17:37:32 -08:00

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-package to navigate to the package repo locally
  • Run apm test to verify that the package currently builds via apm
  • Add the package repo to the Travis CI team
  • Run gem install travis to install the travis gem
  • Run travis login --pro and log in using the atom-build user and the password from the Shared-Developers folder in LastPass
  • Run apm ci to add a .travis.yml file to the repo and to configure Travis
  • Log into Travis as the atom-build user and you should now see the package listed and building