obj2gltf/.travis.yml
2017-06-12 11:42:37 -04:00

13 lines
428 B
YAML

language: node_js
node_js:
- "4"
- "6"
script:
- npm run eslint -- --failTaskOnError
- npm run test -- --failTaskOnError --suppressPassed
after_success:
## We only need to run coveralls for one node version (doesn't matter which one).
## We also ignore publishing failures, since restarting an existing travis build would otherwise break.
- if node --version | grep -q ^v6 ; npm run coverage && npm run coveralls; fi