Commit e9512b43 by Dane Springmeyer

install msvs 2014 vcredist so that our custom node.exe can run

parent 67386d63
...@@ -29,6 +29,7 @@ environment: ...@@ -29,6 +29,7 @@ environment:
install: install:
- node -v - node -v
- npm -v
# add local node to path (since we install it for msvs_toolset == 14) # add local node to path (since we install it for msvs_toolset == 14)
- SET PATH=%CD%;%PATH%; - SET PATH=%CD%;%PATH%;
# add local node-pre-gyp dir to path # add local node-pre-gyp dir to path
...@@ -36,9 +37,12 @@ install: ...@@ -36,9 +37,12 @@ install:
# use 64 bit python if platform is 64 bit # use 64 bit python if platform is 64 bit
- if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH% - if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH%
# install node version per visual studio toolset # install node version per visual studio toolset
- ps: Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
- if "%msvs_toolset%" == "12" powershell Install-Product node $env:nodejs_version $env:Platform - if "%msvs_toolset%" == "12" powershell Install-Product node $env:nodejs_version $env:Platform
- if "%msvs_toolset%" == "14" powershell Write-Output "fetching https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
- if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe" - if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
- if "%msvs_toolset%" == "14" powershell Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:Platform.exe"
- if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:Platform.exe"
- if "%msvs_toolset%" == "14" .\vcredist_%platform%.exe /q /norestart
- node -v - node -v
- node -e "console.log(process.argv)" - node -e "console.log(process.argv)"
- npm -v - npm -v
......
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