forked from Supositware/Haha-Yes
43 lines
950 B
YAML
43 lines
950 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: "0.10"
|
||
|
- nodejs_version: "0.12"
|
||
|
# io.js
|
||
|
- nodejs_version: "4"
|
||
|
- nodejs_version: "5"
|
||
|
- nodejs_version: "6"
|
||
|
- nodejs_version: "7"
|
||
|
|
||
|
platform:
|
||
|
- x86
|
||
|
- x64
|
||
|
|
||
|
# Install scripts. (runs after repo cloning)
|
||
|
install:
|
||
|
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
|
||
|
- npm install -g npm@3
|
||
|
- set PATH=%APPDATA%\npm;%PATH%
|
||
|
# 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}"
|