38 lines
813 B
YAML
38 lines
813 B
YAML
clone_depth: 10
|
|
|
|
version: "{build}"
|
|
|
|
# What combinations to test
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "4"
|
|
platform: x64
|
|
- nodejs_version: "4"
|
|
platform: x86
|
|
- nodejs_version: "6"
|
|
platform: x86
|
|
- nodejs_version: "8"
|
|
platform: x86
|
|
- nodejs_version: "9"
|
|
platform: x86
|
|
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
- npm install
|
|
|
|
test_script:
|
|
# Output useful info for debugging
|
|
- node --version && npm --version
|
|
# We test multiple Windows shells because of prior stdout buffering issues
|
|
# filed against Grunt. https://github.com/joyent/node/issues/3584
|
|
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
|
|
- cmd: npm test
|
|
|
|
build: off
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
cache:
|
|
- node_modules -> package.json
|