2016-07-08 18:10:18 -04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-01-03 21:37:15 -05:00
|
|
|
- "4"
|
|
|
|
- "6"
|
2016-07-08 18:10:18 -04:00
|
|
|
script:
|
2017-06-12 11:42:37 -04:00
|
|
|
- npm run eslint -- --failTaskOnError
|
2016-07-08 18:10:18 -04:00
|
|
|
- npm run test -- --failTaskOnError --suppressPassed
|
2017-03-13 15:28:51 -04:00
|
|
|
|
|
|
|
after_success:
|
2017-04-04 11:24:39 -04:00
|
|
|
## 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
|