Skip to content

Instantly share code, notes, and snippets.

@aliaksandr-master
Created June 26, 2015 13:59
Show Gist options
  • Save aliaksandr-master/1661166eb79940aad699 to your computer and use it in GitHub Desktop.
Save aliaksandr-master/1661166eb79940aad699 to your computer and use it in GitHub Desktop.
.travis.yaml for node lib
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