Skip to content

Instantly share code, notes, and snippets.

@jhnns
Created May 19, 2014 14:17
Show Gist options
  • Save jhnns/735b5a34b855fe8c6a45 to your computer and use it in GitHub Desktop.
Save jhnns/735b5a34b855fe8c6a45 to your computer and use it in GitHub Desktop.
Use coveralls via travis ci
language: node_js
node_js:
- "0.10"
- "0.11"
script:
- npm test
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment