Commit 2ef7028e by Dane Springmeyer

build for both node 0.11.13 and 0.11.14 [publish binary]

parent 01973c57
......@@ -14,6 +14,7 @@ branches:
env:
matrix:
- NODE_VERSION="0.10.33"
- NODE_VERSION="0.11.13"
- NODE_VERSION="0.11.14"
- NODE_WEBKIT="0.8.6" TARGET_ARCH="ia32"
- NODE_WEBKIT="0.8.6" TARGET_ARCH="x64"
......
# Changelog
## 3.0.3
- Upgraded to node-pre-gyp@0.6.0 which should fix crashes against node v0.11.14
- Now providing binaries against Visual Studio 2014 (pass --toolset=v140) and use binaries from https://github.com/mapbox/node-cpp11
## 3.0.2
- Republish for possibly busted npm package.
......
......@@ -20,15 +20,25 @@ environment:
nw_version: 0.10.5
PLATFORM: x64
msvs_toolset: 12
- nodejs_version: 0.11.13
nw_version: 0.10.5
PLATFORM: x86
msvs_toolset: 12
BUILD_ARGS: --target=0.11.14
- nodejs_version: 0.11.13
nw_version: 0.10.5
PLATFORM: x64
msvs_toolset: 12
BUILD_ARGS: --target=0.11.14
# custoom 64 bit visual studio 2014 builds
- nodejs_version: 0.10.33
PLATFORM: x64
msvs_toolset: 14
TOOLSET_ARGS: --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11 --toolset=v140
BUILD_ARGS: --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11 --toolset=v140
- nodejs_version: 0.11.14
PLATFORM: x64
msvs_toolset: 14
TOOLSET_ARGS: --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11 --toolset=v140
BUILD_ARGS: --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11 --toolset=v140
os: Visual Studio 2014 CTP4
......@@ -58,7 +68,7 @@ install:
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\bin;%PATH%
- if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64
- if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64_x86
- npm install --build-from-source --msvs_version=2013 %TOOLSET_ARGS% --loglevel=http
- npm install --build-from-source --msvs_version=2013 %BUILD_ARGS% --loglevel=http
- node_modules\.bin\node-pre-gyp reveal module --silent > module.txt
- SET /p MODULE=<module.txt
- del module.txt
......@@ -69,10 +79,10 @@ install:
- dumpbin /DEPENDENTS "%NODE_EXE_PATH%"
- dumpbin /DEPENDENTS "%MODULE%"
- npm test
- node-pre-gyp package %TOOLSET_ARGS%
- node-pre-gyp package %BUILD_ARGS%
# make commit message env var shorter
- SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 unpublish publish %TOOLSET_ARGS%
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish %BUILD_ARGS%
- if "%msvs_toolset%" == "12" call scripts\build_for_node_webkit.cmd %PLATFORM%
build: 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