Skip to content

Commit

Permalink
Merge pull request #72 from pierreinglebert/pierreinglebert-npm-build
Browse files Browse the repository at this point in the history
install npm3 for every platform
  • Loading branch information
pierreinglebert committed Jul 20, 2016
2 parents 4dba060 + 017ebdc commit 2f5be32
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@ install:
# Get zopfli submodule
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version $env:platform
# Install newer npm for node.js 0.10
- ps: >-
if ($env:nodejs_version -eq "0.10") {
npm install -g npm@3
$env:PATH="$env:APPDATA\npm;$env:PATH"
}
# Install newer npm
- npm install -g npm@3
- ps: $env:path = $env:appdata + "\npm;" + $env:path

# work around an issue with node-gyp v3.3.1 and node 4x
# package.json has no certificates in it so we're cool
# https://github.com/nodejs/node-gyp/issues/921
- ps: npm config set -g cafile=package.json | Write-Host;
- ps: npm config set -g strict-ssl=false | Write-Host;

# Add local node-pre-gyp dir to path
- SET PATH=node_modules\.bin;%PATH%
# Use 64-bit Python if platform is 64-bit
Expand Down

0 comments on commit 2f5be32

Please sign in to comment.