UNPKG

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