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
|
2020-11-12 07:50:16 +11:00
|
|
|
version: 9.1.2.{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
|
2017-07-13 15:32:52 +10:00
|
|
|
- nodejs_version: "8"
|
2020-11-12 07:46:57 +11:00
|
|
|
- nodejs_version: "10"
|
|
|
|
- nodejs_version: "12"
|
|
|
|
- nodejs_version: "14"
|
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
|