aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorelliottcable <[email protected]>2013-05-24 02:54:37 -0400
committerelliottcable <[email protected]>2013-05-24 02:54:37 -0400
commitebca6c04edd9952c1c3fb99aea019e385a4c53b8 (patch)
tree22b8116ee64fb5335076aae87cb074433e145ae4 /README.md
parent92783b483630b516b83cab3b555cce2fb5b79982 (diff)
downloadnode-coveralls-ebca6c04edd9952c1c3fb99aea019e385a4c53b8.tar.xz
node-coveralls-ebca6c04edd9952c1c3fb99aea019e385a4c53b8.zip
Supporting the COVERALLS_REPO_TOKEN environment-variable
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4f41665..e484a36 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ In mocha, if you've got your code instrumented for coverage, the command for a t
YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test -R mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
```
-If you're running locally, you must have a `.coveralls.yml` file, as documented in their documentation, with your `repo_token` in it.
+If you're running locally, you must have a `.coveralls.yml` file, as documented in their documentation, with your `repo_token` in it; or, you must provide a `COVERALLS_REPO_TOKEN` environment-variable on the command-line.
Check out an example [Makefile](https://github.com/cainus/urlgrey/blob/master/Makefile) from one of my projects for an example, especially the test-coveralls build target. Note: Travis runs `npm test`, so whatever target you create in your Makefile must be the target that `npm test` runs (This is set in package.json's 'scripts' property).