Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
add github hooks for travis-ci
JavaScript
branch: master

1.0.0

latest commit 65e25345f5
@substack authored
Failed to load latest commit information.
bin add before_install to upgrade npm
lib remove the horrors
README.markdown document the new .travis.yml file creation
package.json 1.0.0

README.markdown

travisify

Add travis-ci hooks to your github project.

install

npm install -g travisify

usage

Navigate to a git project that you've set up remotes for on github, then run travisify. The first time you run travisify it will prompt you for your github account and travis api key.

$ cd ~/projects/upnode
$ travisify
# created a .travis.yml
# make sure to `git add .travis.yml`
travis hook added for substack/upnode with id 213466

Now every time you push to github your tests will be run on travis-ci.

Travisify looks at your package.json's engine field to generate a .travis.yml file if one doesn't already exist.

If you want to trigger the tests manually you can use the travisify test command:

$ cd ~/projects/upnode
$ travisify test
test hook sent for substack/upnode/213466

commands

travisify

Add a github hook for travis if one hasn't already been added.

travisify test

Trigger a test request for the travis hook.

travisify badge

Generate a markdown travis badge to put in your readme.

license

MIT

Something went wrong with that request. Please try again.