1 | # appveyor config
|
2 | # based on https://www.appveyor.com/docs/appveyor-yml/
|
3 | # validated with https://ci.appveyor.com/tools/validate-yaml
|
4 |
|
5 | version: "{build}"
|
6 |
|
7 | environment:
|
8 | matrix:
|
9 | - nodejs_version: "8"
|
10 | - nodejs_version: "10"
|
11 |
|
12 | # fix line endings in Windows
|
13 | init:
|
14 | - git config --global core.autocrlf input
|
15 |
|
16 | install:
|
17 | - ps: Install-Product node $env:nodejs_version
|
18 | - node -v
|
19 | - npm -v
|
20 | - npm config set package-lock false
|
21 | - npm update --save-dev # https://github.com/npm/npm/issues/16901
|
22 | - npm update
|
23 |
|
24 | build: off
|
25 |
|
26 | configuration: build-lint-test
|
27 |
|
28 | test_script:
|
29 | - npm run ci-test
|
30 |
|
31 | # Do not build feature branch with open Pull Requests
|
32 | skip_branch_with_pr: true
|