Skip to content

Commit

Permalink
Only do the ssl stuff on node 4
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Dec 12, 2016
1 parent 0544581 commit 8526467
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ install:
}
npm -v | Write-Host;
# 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: >
if ($env:nodejs_version -eq "4") {
npm config set -g cafile=package.json | Write-Host;
npm config set -g strict-ssl=false | Write-Host;
}
true;
# Check if we're building the latest tag, if so
# then we publish the binaries if tests pass.
- ps: >
Expand Down

0 comments on commit 8526467

Please sign in to comment.