Permalink
Browse files

document the new .travis.yml file creation

  • Loading branch information...
1 parent 38e468b commit 3e18ec6982a04e76f35e22bf8e0742bfb5c57599 @substack substack committed Apr 12, 2012
Showing with 6 additions and 13 deletions.
  1. +5 −12 README.markdown
  2. +1 −1 package.json
View
@@ -15,27 +15,20 @@ 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
-account information.
+github account and travis api key.
```
$ cd ~/projects/upnode
$ travisify
-github username: substack
-github password:
-travis-ci api key: abcdefghijklmnopqrst
+# 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.
-Make sure to `git add` a `.travis.yml` file like this before you push:
-
-``` yaml
-language: node_js
-node_js:
- - 0.4
- - 0.6
-```
+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:
View
@@ -1,7 +1,7 @@
{
"name" : "travisify",
"description" : "add travis-ci hooks to github",
- "version" : "0.0.3",
+ "version" : "0.1.0",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/travisify.git"

0 comments on commit 3e18ec6

Please sign in to comment.