2016-10-06 17:01:54 +11:00
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
2016-10-06 18:27:21 +11:00
|
|
|
# version format
|
2016-12-21 13:28:51 +11:00
|
|
|
version: 8.9.3.{build}
|
2016-10-06 18:27:21 +11:00
|
|
|
|
2016-10-06 17:01:54 +11:00
|
|
|
# Test against these versions of Io.js and Node.js.
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
# node.js
|
|
|
|
- nodejs_version: "4"
|
|
|
|
- nodejs_version: "5"
|
|
|
|
- nodejs_version: "6"
|
2016-12-21 13:28:51 +11:00
|
|
|
- nodejs_version: "7"
|
2016-10-06 17:01:54 +11:00
|
|
|
|
|
|
|
# Install scripts. (runs after repo cloning)
|
|
|
|
install:
|
|
|
|
# Get the latest stable version of Node 0.STABLE.latest
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
- npm -g install npm
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
# Post-install test scripts.
|
|
|
|
test_script:
|
|
|
|
# Output useful info for debugging.
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
|
|
|
# run tests
|
2016-10-06 17:16:14 +11:00
|
|
|
- npm run test-windows
|
2016-10-06 17:01:54 +11:00
|
|
|
|
|
|
|
# Don't actually build.
|
|
|
|
build: off
|