Skip to content

Commit cf5a0a6

Browse files
committed
update appveyor.yml
1 parent c5f6617 commit cf5a0a6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

appveyor.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ platform:
1010
clone_folder: 'c:\projects\%APPVEYOR_PROJECT_NAME%'
1111
install:
1212
- ps: 'Install-Product node $env:nodejs_version $env:platform'
13+
- ps: '$NpmVersion = (npm -v).Substring(0,1)'
14+
- ps: 'if($NpmVersion -eq 5) { npm install -g npm@5 }'
15+
- ps: npm --version
1316
- npm install
1417
test_script:
1518
- echo %cd%
1619
- node --version
1720
- npm --version
18-
- npm run test:unit
19-
- npm run test:integration
20-
- npm run test:package
21+
- 'npm run test:unit'
22+
- 'npm run test:integration'
23+
- 'npm run test:package'
2124
build: 'off'

0 commit comments

Comments
 (0)