Commit bf0df506 by Mithgol

add `PLATFORM` variable to the matrix (as @FeodorFitsner recommended)

parent d9830d7f
...@@ -6,21 +6,26 @@ environment: ...@@ -6,21 +6,26 @@ environment:
matrix: matrix:
- nodejs_version: 0.10.29 - nodejs_version: 0.10.29
nw_version: 0.8.6 nw_version: 0.8.6
PLATFORM: x86
- nodejs_version: 0.10.29
nw_version: 0.8.6
PLATFORM: x64
- nodejs_version: 0.8.26
PLATFORM: x86
- nodejs_version: 0.8.26 - nodejs_version: 0.8.26
PLATFORM: x64
- nodejs_version: 0.11.13 - nodejs_version: 0.11.13
nw_version: 0.10.0 nw_version: 0.10.0
PLATFORM: x86
platform: - nodejs_version: 0.11.13
- x64 nw_version: 0.10.0
- x86 PLATFORM: x64
install: install:
- ps: Update-NodeJsInstallation $env:nodejs_version $env:Platform - ps: Update-NodeJsInstallation $env:nodejs_version $env:Platform
- node --version - node --version
- npm --version - npm --version
- set nw_platform=%PLATFORM%
- echo %PLATFORM% - echo %PLATFORM%
- echo %NW_PLATFORM%
- SET PATH=c:\python27;%PATH% - SET PATH=c:\python27;%PATH%
- SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH% - SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%
# add local node-pre-gyp dir to path # add local node-pre-gyp dir to path
...@@ -33,7 +38,7 @@ install: ...@@ -33,7 +38,7 @@ install:
# make commit message env var shorter # make commit message env var shorter
- SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE% - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish - if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish
- call scripts\build_for_node_webkit.cmd %NW_PLATFORM% - call scripts\build_for_node_webkit.cmd %PLATFORM%
build: OFF build: OFF
test: OFF test: OFF
......
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