39 lines
879 B
YAML
39 lines
879 B
YAML
|
# http://www.appveyor.com/docs/appveyor-yml
|
||
|
|
||
|
# Test against these versions of Node.js.
|
||
|
environment:
|
||
|
# Visual Studio Version
|
||
|
MSVS_VERSION: 2013
|
||
|
# Test against these versions of Node.js and io.js
|
||
|
matrix:
|
||
|
# node.js
|
||
|
- nodejs_version: "4"
|
||
|
- nodejs_version: "6"
|
||
|
- nodejs_version: "7"
|
||
|
- nodejs_version: "8"
|
||
|
|
||
|
platform:
|
||
|
- x86
|
||
|
- x64
|
||
|
|
||
|
# Install scripts. (runs after repo cloning)
|
||
|
install:
|
||
|
# Get the latest stable version of Node 0.STABLE.latest
|
||
|
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
|
||
|
# Typical npm stuff.
|
||
|
- npm install --msvs_version=%MSVS_VERSION%
|
||
|
|
||
|
# Post-install test scripts.
|
||
|
test_script:
|
||
|
# Output useful info for debugging.
|
||
|
- node --version
|
||
|
- npm --version
|
||
|
# run tests
|
||
|
- npm test
|
||
|
|
||
|
# Don't actually build.
|
||
|
build: off
|
||
|
|
||
|
# Set build version format here instead of in the admin panel.
|
||
|
version: "{build}"
|