build: Node.js@8.3
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
coverage
|
||||
node_modules
|
||||
npm-debug.log
|
||||
package-lock.json
|
||||
|
||||
@@ -10,11 +10,15 @@ node_js:
|
||||
- "5.12"
|
||||
- "6.11"
|
||||
- "7.10"
|
||||
- "8.3"
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
before_install:
|
||||
# Skip updating shrinkwrap / lock
|
||||
- "npm config set shrinkwrap false"
|
||||
|
||||
# Setup Node.js version-specific dependencies
|
||||
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
|
||||
|
||||
|
||||
@@ -10,10 +10,12 @@ environment:
|
||||
- nodejs_version: "5.12"
|
||||
- nodejs_version: "6.11"
|
||||
- nodejs_version: "7.10"
|
||||
- nodejs_version: "8.3"
|
||||
cache:
|
||||
- node_modules
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
- npm config set shrinkwrap false
|
||||
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
|
||||
- if exist node_modules npm prune
|
||||
- if exist node_modules npm rebuild
|
||||
|
||||
Reference in New Issue
Block a user