Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 3ad87f7

Browse files
gaearonwmonk
authored andcommitted
Test Node 8 on Travis (#2659)
* Test Node 8 on Travis We still test Node 7 on AppVeyor * Update e2e-installs.sh * Update e2e-kitchensink.sh * Update e2e-simple.sh * Update e2e-installs.sh * Update e2e-kitchensink.sh * Update e2e-installs.sh * Update e2e-simple.sh * Update e2e-simple.sh * Update e2e-kitchensink.sh * Update e2e-installs.sh
1 parent 22a9503 commit 3ad87f7

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
language: node_js
33
node_js:
44
- 6
5-
- 7
5+
- 8
66
cache:
77
directories:
88
- node_modules

tasks/e2e-installs.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@ fi
9595

9696
if hash npm 2>/dev/null
9797
then
98-
npm cache clean
98+
# npm 5 is too buggy right now
99+
if [ $(npm -v | head -c 1) -eq 5 ]; then
100+
npm i -g npm@^4.x
101+
fi;
102+
npm cache clean || npm cache verify
99103
fi
100104

101105
# Prevent lerna bootstrap, we only want top-level dependencies

tasks/e2e-kitchensink.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ fi
8787

8888
if hash npm 2>/dev/null
8989
then
90-
npm cache clean
90+
# npm 5 is too buggy right now
91+
if [ $(npm -v | head -c 1) -eq 5 ]; then
92+
npm i -g npm@^4.x
93+
fi;
94+
npm cache clean || npm cache verify
9195
fi
9296

9397
# Prevent lerna bootstrap, we only want top-level dependencies

tasks/e2e-simple.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ fi
8686

8787
if hash npm 2>/dev/null
8888
then
89-
npm cache clean
89+
# npm 5 is too buggy right now
90+
if [ $(npm -v | head -c 1) -eq 5 ]; then
91+
npm i -g npm@^4.x
92+
fi;
93+
npm cache clean || npm cache verify
9094
fi
9195

9296
# Prevent lerna bootstrap, we only want top-level dependencies

0 commit comments

Comments
 (0)