33 lines
615 B
YAML
33 lines
615 B
YAML
|
|
init:
|
||
|
|
- git config --global core.autocrlf false
|
||
|
|
|
||
|
|
environment:
|
||
|
|
matrix:
|
||
|
|
- nodejs_version: "0.10"
|
||
|
|
- nodejs_version: "0.11"
|
||
|
|
- nodejs_version: "0.12"
|
||
|
|
- nodejs_version: "3"
|
||
|
|
- nodejs_version: "4"
|
||
|
|
- nodejs_version: "5"
|
||
|
|
|
||
|
|
platform:
|
||
|
|
- x86
|
||
|
|
- x64
|
||
|
|
|
||
|
|
install:
|
||
|
|
# Get the latest stable version of Node.js or io.js
|
||
|
|
- ps: Install-Product node $env:nodejs_version
|
||
|
|
# install modules
|
||
|
|
- npm install -g npm
|
||
|
|
- npm install
|
||
|
|
|
||
|
|
# Post-install test scripts.
|
||
|
|
test_script:
|
||
|
|
# Output useful info for debugging.
|
||
|
|
- node --version
|
||
|
|
- npm --version
|
||
|
|
# run tests
|
||
|
|
- npm run-script ci
|
||
|
|
|
||
|
|
# Don't actually build.
|
||
|
|
build: off
|