Heroku and Travis
27 April 2013 in heroku, travis · view history
The story was this, I would like to have a CI to get my code from GitHub,
maybe run some test, and deploy it to Heroku. So I could commit to one place
(master
) and everything would be set up. Travis is very handy in this,
but require some configurations.
Well I’ve covered most of my Travis knowledge on previous post so there’s nothing much here. Let’s see my configuration for the upcoming phatograph2013 then.
This build came up from many really nice posts. I would like to thank them all here. The trick, is you need to encrypt your Heroku API key.
The command would generate a secure:
property. Another note at this line:
I have the CI perform only commits to master
, so the feature branch
commits won’t trigger the code deployment.
And because I don’t have any test suite for this site. So I have to let the rake run nothing