2017-08-11 01:37:44 +03:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
# Windows Server 2012 R2 Visual C++ Build Tools 2015
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2017-11-03 21:39:41 +03:00
|
|
|
nodejs_version: 6
|
2017-08-11 01:37:44 +03:00
|
|
|
# Windows Server 2012 R2 Visual C++ Build Tools 2015
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2017-11-09 10:44:12 +03:00
|
|
|
nodejs_version: 8.4.0
|
2017-08-11 01:37:44 +03:00
|
|
|
# Windows Server 2016 Visual C++ Build Tools 2017
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2017-11-03 21:39:41 +03:00
|
|
|
nodejs_version: 9
|
2017-08-11 01:37:44 +03:00
|
|
|
|
2017-11-09 10:44:12 +03:00
|
|
|
# There is a compatibility issue on Node v8.5.0 and above.
|
|
|
|
# So we fix the version to 8.4.0 on the build for 8.x, and
|
|
|
|
# allow failure for 9.x
|
|
|
|
#
|
|
|
|
# https://github.com/Microsoft/napajs/issues/96
|
|
|
|
# https://github.com/nodejs/node/issues/16658
|
|
|
|
#
|
|
|
|
# This should be removed once the issue resolved.
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- nodejs_version: 9
|
|
|
|
|
2017-08-11 01:37:44 +03:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
|
|
- npm install cmake-js -g
|
2017-08-18 03:10:20 +03:00
|
|
|
- npm install --no-fetch
|
2017-08-11 01:37:44 +03:00
|
|
|
|
|
|
|
# Skip MSBuild stage
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- npm test
|
|
|
|
- npm run unittest
|