1 |
|
2 |
|
3 |
|
4 |
|
5 | branches:
|
6 |
|
7 | only:
|
8 | - master
|
9 |
|
10 |
|
11 | version: "{build}"
|
12 |
|
13 |
|
14 | environment:
|
15 | matrix:
|
16 | - nodejs_version: 6
|
17 |
|
18 |
|
19 | install:
|
20 | - ps: Install-Product node $env:nodejs_version
|
21 | - npm install
|
22 |
|
23 | build: off
|
24 |
|
25 | test_script:
|
26 |
|
27 | - node --version && npm --version
|
28 | - ps: "npm test # PowerShell"
|
29 | - cmd: npm test
|
30 |
|
31 | matrix:
|
32 | fast_finish: true
|
33 |
|
34 | cache:
|
35 | - C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json
|
36 | - C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json
|
37 | - node_modules -> package.json
|