A dead simple heroku ready travis daily sceduler
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.ruby-version
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile

README.md

daily-travis

A dead simple heroku ready travis daily sceduler

Note 2015-09-04

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.

Usage

  • 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

Alternatives