Created
June 26, 2015 13:59
-
-
Save aliaksandr-master/1661166eb79940aad699 to your computer and use it in GitHub Desktop.
.travis.yaml for node lib
This file contains 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
language: node_js | |
node_js: | |
- "stable" | |
- "unstable" | |
- "iojs" | |
before_script: | |
- npm i jscoverage coveralls grunt-cli nodeunit | |
script: "./node_modules/.bin/grunt test" | |
after_script: | |
- ./node_modules/.bin/jscoverage lib | |
- %NAME_OF_LIB_ENV_VAR_COV%=1 ./node_modules/.bin/nodeunit --reporter=lcov tests/ | ./node_modules/.bin/coveralls | |
notifications: | |
email: | |
on_success: never | |
on_failure: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment