1 |
|
2 |
|
3 |
|
4 | environment:
|
5 | MOCHA_REPORTER: "mocha-appveyor-reporter"
|
6 | matrix:
|
7 | - nodejs_version: "4"
|
8 | - nodejs_version: "6"
|
9 | - nodejs_version: "8"
|
10 | - nodejs_version: "9"
|
11 |
|
12 | branches:
|
13 | only:
|
14 | - master
|
15 | - beta
|
16 | - release
|
17 |
|
18 |
|
19 | install:
|
20 | - ps: Install-Product node $env:nodejs_version
|
21 | - appveyor-retry npm i -g npm@^4
|
22 | - appveyor-retry yarn
|
23 | - appveyor-retry yarn add mocha-appveyor-reporter
|
24 |
|
25 | cache:
|
26 | - '%LOCALAPPDATA%\Yarn'
|
27 | - '%APPDATA%\Roaming\bower'
|
28 |
|
29 |
|
30 | test_script:
|
31 |
|
32 | - git rev-parse HEAD
|
33 | - cmd: yarn run test:all
|
34 |
|
35 |
|
36 | build: off
|
37 |
|
38 |
|
39 | version: "{build}"
|