1 | platform:
|
2 | - x64
|
3 | environment:
|
4 | nodejs_version: "6"
|
5 | matrix:
|
6 | - node_installer: yarn
|
7 | cache:
|
8 | - '%APPDATA%\npm-cache'
|
9 | - '%USERPROFILE%\.electron'
|
10 | branches:
|
11 | only:
|
12 | - master
|
13 |
|
14 | install:
|
15 | - ps: Install-Product node $env:nodejs_version $env:platform
|
16 | - npm install -g npm@4
|
17 | - set PATH=%APPDATA%\npm;%PATH%
|
18 | - npm install
|
19 |
|
20 | test_script:
|
21 | - node --version
|
22 | - npm --version
|
23 | - npm test -- --installer=%node_installer%
|
24 |
|
25 | build: off
|