Created
September 17, 2013 21:21
-
-
Save BoyCook/6600808 to your computer and use it in GitHub Desktop.
Istanbul configuration for Coveralls via Travis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: 'npm install -g istanbul && npm install -g mocha' | |
script: 'make test-cov' | |
after_success: 'make coveralls' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test-cov: istanbul | |
istanbul: | |
istanbul cover _mocha -- -R spec test/spec | |
coveralls: | |
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"devDependencies": { | |
"coveralls": "2.3.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment