Skip to content

Commit aa6b2a0

Browse files
committed
Restore non-related changes
1 parent 6325385 commit aa6b2a0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

appveyor.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
# - nodejs_version: "4"
99

1010
matrix:
11-
fast_finish: false
11+
fast_finish: true
1212

1313
# allow_failures:
1414
# - nodejs_version: "4" # for eslint 5
@@ -22,10 +22,14 @@ install:
2222
# Get the latest stable version of Node.js or io.js
2323
- ps: Install-Product node $env:nodejs_version
2424

25-
# Use [email protected] to work-around issues w/ nyc@<15 on Windows
26-
- npm install -g [email protected]
27-
2825
# install modules
26+
- ps: >-
27+
if ($env:nodejs_version -eq "4") {
28+
npm install -g npm@3;
29+
}
30+
if ($env:nodejs_version -eq "12" -or $env:nodejs_version -eq "10") {
31+
npm install -g [email protected];
32+
}
2933
- npm install
3034

3135
# fix symlinks

0 commit comments

Comments
 (0)