Skip to content

Commit c2e05e8

Browse files
committedSep 4, 2017
build: support Node.js 8.x
1 parent 52cb604 commit c2e05e8

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
coverage/
22
node_modules/
33
npm-debug.log
4+
package-lock.json

‎.travis.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ node_js:
1010
- "5.12"
1111
- "6.11"
1212
- "7.10"
13-
matrix:
14-
include:
15-
- node_js: "8.0"
16-
env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
17-
allow_failures:
18-
# Allow the nightly installs to fail
19-
- env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
13+
- "8.3"
2014
sudo: false
2115
cache:
2216
directories:
2317
- node_modules
2418
before_install:
19+
# Skip updating shrinkwrap / lock
20+
- "npm config set shrinkwrap false"
2521
# Setup Node.js version-specific dependencies
2622
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
2723
- "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"

‎appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ environment:
1010
- nodejs_version: "5.12"
1111
- nodejs_version: "6.11"
1212
- nodejs_version: "7.10"
13+
- nodejs_version: "8.3"
1314
cache:
1415
- node_modules
1516
install:
1617
- ps: Install-Product node $env:nodejs_version
18+
- npm config set shrinkwrap false
1719
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
1820
- for /f tokens^=2^ delims^=^" %%m in ('findstr /r /c:"eslint[^ ]" package.json') do call npm rm --save-dev %%m
1921
- if exist node_modules npm prune

0 commit comments

Comments
 (0)
Please sign in to comment.