You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
530 B
31 lines
530 B
init: |
|
# Get the latest stable version of Node.js |
|
- ps: Install-Product node $env:nodejs_version |
|
|
|
image: |
|
- Visual Studio 2017 |
|
|
|
matrix: |
|
fast_finish: true |
|
|
|
environment: |
|
matrix: |
|
- nodejs_version: "4" |
|
- nodejs_version: "6" |
|
- nodejs_version: "7" |
|
- nodejs_version: "8" |
|
- nodejs_version: "9" |
|
|
|
install: |
|
# install modules |
|
- npm install |
|
|
|
# Post-install test scripts. |
|
test_script: |
|
# Output useful info for debugging. |
|
- node --version |
|
- npm --version |
|
- npm run test |
|
|
|
# Don't actually build. |
|
build: off |