Skip to content

Instantly share code, notes, and snippets.

@BoyCook

BoyCook/.travis.yml

Created Sep 17, 2013
Embed
What would you like to do?
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