1 | clone_depth: 10
|
2 |
|
3 | version: "{build}"
|
4 |
|
5 | # What combinations to test
|
6 | environment:
|
7 | matrix:
|
8 | - nodejs_version: "0.10"
|
9 | platform: x86
|
10 | - nodejs_version: "0.12"
|
11 | platform: x86
|
12 | - nodejs_version: "4"
|
13 | platform: x64
|
14 | - nodejs_version: "4"
|
15 | platform: x86
|
16 | - nodejs_version: "5"
|
17 | platform: x86
|
18 |
|
19 | install:
|
20 | - ps: Install-Product node $env:nodejs_version $env:platform
|
21 | - npm install
|
22 |
|
23 | test_script:
|
24 | # Output useful info for debugging
|
25 | - node --version && npm --version
|
26 | # We test multiple Windows shells because of prior stdout buffering issues
|
27 | # filed against Grunt. https://github.com/joyent/node/issues/3584
|
28 | - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
|
29 | - cmd: npm test
|
30 |
|
31 | build: off
|
32 |
|
33 | matrix:
|
34 | fast_finish: true
|
35 |
|
36 | cache:
|
37 | - node_modules -> package.json
|