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 # NPM
node_modules node_modules
npm-debug.log npm-debug.log
package-lock.json
# WebStorm user-specific # WebStorm user-specific
.idea/workspace.xml .idea/workspace.xml

View File

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

View File

@ -1,7 +1,6 @@
language: node_js language: node_js
node_js: node_js:
- "4" - "8"
- "6"
script: script:
- npm run eslint - npm run eslint
- npm run test -- --failTaskOnError --suppressPassed - npm run test -- --failTaskOnError --suppressPassed
@ -9,4 +8,4 @@ script:
after_success: after_success:
## We only need to run coveralls for one node version (doesn't matter which one). ## 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. ## 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