Skip to content

philou/daily-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Status: Unsupported – The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired.

daily-travis

A dead simple heroku ready travis daily sceduler

⚠️ Note 2020-09-04

Travis CI has now long been supporting its own version of Cron Jobs. There is no use for this tool anymore.

⚠️ 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

About

A dead simple heroku ready travis daily sceduler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages