Commit 0b2af4f3 by bergwerkgis

[skip travis] AppVeyor: try upgrading npm

parent 27f23884
......@@ -4,36 +4,36 @@ environment:
node_pre_gyp_secretAccessKey:
secure: 1amwJJw9fu0j6dXnc5KsAQbSYf7Cjw/dapT6OZWABa6nc52grkKeLQ+DGaOfQz8i
matrix:
- nodejs_version: 0.10.40
platform: x86
msvs_toolset: 12
- nodejs_version: 0.10.40
platform: x64
msvs_toolset: 12
- nodejs_version: 0.12.7
platform: x86
msvs_toolset: 12
- nodejs_version: 0.12.7
platform: x64
msvs_toolset: 12
- nodejs_version: 4.0.0
platform: x64
msvs_toolset: 12
- nodejs_version: 4.0.0
platform: x86
msvs_toolset: 12
- nodejs_version: 5.0.0
platform: x64
msvs_toolset: 12
- nodejs_version: 5.0.0
platform: x86
msvs_toolset: 12
- nodejs_version: 6.0.0
platform: x64
msvs_toolset: 12
- nodejs_version: 6.0.0
platform: x86
msvs_toolset: 12
# - nodejs_version: 0.10.40
# platform: x86
# msvs_toolset: 12
# - nodejs_version: 0.10.40
# platform: x64
# msvs_toolset: 12
# - nodejs_version: 0.12.7
# platform: x86
# msvs_toolset: 12
# - nodejs_version: 0.12.7
# platform: x64
# msvs_toolset: 12
# - nodejs_version: 4.0.0
# platform: x64
# msvs_toolset: 12
# - nodejs_version: 4.0.0
# platform: x86
# msvs_toolset: 12
# - nodejs_version: 5.0.0
# platform: x64
# msvs_toolset: 12
# - nodejs_version: 5.0.0
# platform: x86
# msvs_toolset: 12
# - nodejs_version: 6.0.0
# platform: x64
# msvs_toolset: 12
# - nodejs_version: 6.0.0
# platform: x86
# msvs_toolset: 12
# custom visual studio 2015 builds
- nodejs_version: 0.10.40
platform: x86
......
......@@ -42,6 +42,13 @@ IF /I "%platform%"=="x64" powershell Install-Product node $env:nodejs_version x6
IF /I "%platform%"=="x86" powershell Install-Product node $env:nodejs_version x86
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
CALL npm install --global --production npm-windows-upgrade
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
CALL npm-windows-upgrade --npm-version 2.15.6 --no-dns-check --no-prompt
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
:SKIP_APPVEYOR_INSTALL
IF /I "%msvs_toolset%"=="12" GOTO NODE_INSTALLED
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment