Skip to content

Instantly share code, notes, and snippets.

@BoyCook
Created September 17, 2013 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoyCook/6600808 to your computer and use it in GitHub Desktop.
Save BoyCook/6600808 to your computer and use it in GitHub Desktop.
Istanbul configuration for Coveralls via Travis
before_script: 'npm install -g istanbul && npm install -g mocha'
script: 'make test-cov'
after_success: 'make coveralls'
test-cov: istanbul
istanbul:
istanbul cover _mocha -- -R spec test/spec
coveralls:
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
"devDependencies": {
"coveralls": "2.3.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment