A dead simple heroku ready travis daily sceduler
Travis CI has now long been supporting its own version of Cron Jobs. There is no use for this tool anymore.
https://nightli.es/ is an independent service that the travis team suggests using. I switched to this one myself, and am not intending to maintain daily-travis from now on.
- Clone this repo locally
git clone https://github.com/philou/daily-travis.git
-
If you don't have it yet, install the heroku toolbelt
-
Create an heroku app to deploy to
heroku apps:create <my-lib>-daily-travis
- Deploy to heroku
git push heroku master
- Generate a github token
Explanations are here. Default authorizations are fine. Note the token somewhere.
- Add the parameters to your heroku app
heroku config:add TRAVIS_REPOSITORY=<github-user>/<github-repo>
heroku config:add GITHUB_TOKEN=<github-token>
- Test that the latest build is restarted by manually running
heroku run rake build
- Add the scheduler to your heroku app
heroku addons:add scheduler:standard
heroku addons:open scheduler
- Add the task
rake build
to your heroku scheduler
- https://nightli.es/ is an independent service that the travis team suggests using
- The travis-cron web app and git repo. Which is manually moderated.