2016-07-08 18:10:18 -04:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-11-06 09:42:37 -05:00
|
|
|
- "8"
|
2016-07-08 18:10:18 -04:00
|
|
|
script:
|
2017-06-23 13:42:34 -04:00
|
|
|
- npm run eslint
|
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.
|
2017-11-06 09:42:37 -05:00
|
|
|
- if node --version | grep -q ^v8 ; npm run coverage && npm run coveralls; fi
|