Skip to content

Commit

Permalink
add back workaround for #209
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jun 11, 2017
1 parent 871b8ce commit b0eb4e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ install:
- ps: Install-Product node $env:nodejs_version $env:Platform
- ps: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
- npm config get
# make node >= 4.x x86 builds work
# https://github.com/mapbox/node-pre-gyp/issues/209#issuecomment-217690537
- IF /I "%PLATFORM%" == "x86" npm config set -g cafile=package.json
- IF /I "%PLATFORM%" == "x86" npm config set -g strict-ssl=false
# upgrade node-gyp to dodge 2013 compile issue present in the node gyp bundled with node v0.10
# https://github.com/nodejs/node-gyp/issues/972#issuecomment-231055109
- IF "%nodejs_version:~0,1%"=="0" npm install node-gyp@3.x
# downgrade npm with node v6 to dodge npm 3.10.10 bug whereby --nodedir/--dist-url is not passed to node-gyp
# https://github.com/mapbox/node-pre-gyp/issues/300
- IF "%nodejs_version:~0,1%"=="6" npm install npm@2.x -g
- node --version
- npm --version
Expand Down

0 comments on commit b0eb4e0

Please sign in to comment.