diff --git a/appveyor.yml b/appveyor.yml index e6fd390..a04972c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,23 +5,9 @@ environment: secure: jJxKoyWputzRz2EjAT9i/vBzYt2+lcjKZ5D6O5TBaS9+anpYHn2XWbOut5dkOgh0 node_pre_gyp_region: eu-central-1 matrix: - - NODE_VERSION: 6 - platform: x64 - - NODE_VERSION: 6 - platform: x86 - - NODE_VERSION: 5 - platform: x64 - - NODE_VERSION: 5 - platform: x86 - NODE_VERSION: 4 platform: x64 - - NODE_VERSION: 0.12 - platform: x64 - - NODE_VERSION: 0.12 - platform: x86 - - NODE_VERSION: 0.10 - platform: x64 - - NODE_VERSION: 0.10 + - NODE_VERSION: 4 platform: x86 os: unstable @@ -33,6 +19,11 @@ install: - IF %NODE_VERSION% LSS 1 npm -g install npm - IF %NODE_VERSION% LSS 1 set PATH=%APPDATA%\npm;%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 + - IF %NODE_VERSION% EQ 4 npm config set -g cafile=package.json + - IF %NODE_VERSION% EQ 4 npm config set -g strict-ssl=false # Check if new tag released and publish binary in this case. - SET PUBLISH_BINARY=%APPVEYOR_REPO_TAG%