Skip to content

larslockefeer/trigger-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trigger-travis

A Heroku-ready travis triggerer. Allows you to manually or periodically trigger a build for a specific branch.

Heavily inspired by:

Usage

Prerequisites

Setup

git clone https://github.com/larslockefeer/trigger-travis.git
heroku apps:create {my-prefix}-trigger-travis
heroku config:add TRAVIS_REPOSITORY={user/organization}/{repository}
heroku config:add GITHUB_TOKEN={token}
heroku config:add TRAVIS_BRANCH={branch}
git push heroku master

If you are using Travis Pro instead of Travis for Open Source projects, you also need to do the following:

heroku config:add TRAVIS_PRO=true

Trigger a build manually

You can now trigger a build manually by executing:

heroku run rake build

Periodically trigger a build

Or you can schedule a periodical build:

heroku addons:create scheduler:standard
heroku addons:open scheduler

Add the task rake build to your heroku scheduler

About

Simple trigger for Travis Builds of a specific branch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages