| 1 |
# Test against this version of Node.js |
| 2 |
environment: |
| 3 |
matrix: |
| 4 |
# node.js |
| 5 |
- nodejs_version: "6.0" |
| 6 |
- nodejs_version: "5.0" |
| 7 |
- nodejs_version: "4.0" |
| 8 |
- nodejs_version: "0.12" |
| 9 |
- nodejs_version: "0.10" |
| 10 |
|
| 11 |
# Install scripts. (runs after repo cloning) |
| 12 |
install: |
| 13 |
# Get the latest stable version of Node.js or io.js |
| 14 |
- ps: Install-Product node $env:nodejs_version |
| 15 |
# install modules |
| 16 |
- npm install |
| 17 |
|
| 18 |
# Post-install test scripts. |
| 19 |
test_script: |
| 20 |
# Output useful info for debugging. |
| 21 |
- node --version |
| 22 |
- npm --version |
| 23 |
# run tests |
| 24 |
- npm test |
| 25 |
|
| 26 |
# Don't actually build. |
| 27 |
build: off |