Update Travis to Node 8

This commit is contained in:
Sean Lilley 2018-10-16 10:28:21 -04:00
parent f2cceaff0f
commit eecff03712
4 changed files with 7 additions and 3 deletions

3
.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization
* text=auto
package.json text eol=lf

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# NPM
node_modules
npm-debug.log
package-lock.json
# WebStorm user-specific
.idea/workspace.xml

View File

@ -7,6 +7,7 @@
.eslintcache
.eslintignore
.eslintrc.json
.gitattributes
.nyc_output
.npmignore
.travis.yml

View File

@ -1,7 +1,6 @@
language: node_js
node_js:
- "4"
- "6"
- "8"
script:
- npm run eslint
- npm run test -- --failTaskOnError --suppressPassed
@ -9,4 +8,4 @@ script:
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
- if node --version | grep -q ^v8 ; npm run coverage && npm run coveralls; fi