Travis CI setup - Hives/acebook-business-logic GitHub Wiki

Travis CI

Github repo for Travis CLI Has lots of info on what you can do with it

First to make your life easier - Travis have command line interface with bits a bobs to make it easier

gem install travis -v 1.8.9

In the repo you want to create a travis.yml file

travis init

Deploying to Heroku..

First get your encrypted heroku auth key for test/dev by running the travis encrypt tool.

travis encrypt $(heroku auth:token)

copy the encrypted output and put these lines at the BOTTOM of the travis.yml file, filling in the key bit of course.

deploy:
  provider: heroku
  api_key:
    secure: "YOUR ENCRYPTED API KEY"