-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathappveyor.yml
59 lines (54 loc) · 1.2 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
branches:
only:
- master
image:
- Visual Studio 2019
- Ubuntu2004
- macOS
environment:
matrix:
- nodejs_version: 21
- nodejs_version: 20
- nodejs_version: 19
- nodejs_version: 18
- nodejs_version: 17
- nodejs_version: 16
- nodejs_version: 15
- nodejs_version: 14
- nodejs_version: 13
- nodejs_version: 12
- nodejs_version: 11
- nodejs_version: 10
for:
- matrix:
only:
- image: Visual Studio 2019
init:
- git config --global core.autocrlf true
install:
- ps: Install-Product node $env:nodejs_version
test_script:
- node --version
- npm --version
- npm run testminimal
- matrix:
only:
- image: macOS
install:
- nvm install $nodejs_version
- nvm use $nodejs_version
test_script:
- node --version
- npm --version
- npm run testminimal
- matrix:
only:
- image: Ubuntu2004
install:
- nvm use $nodejs_version
test_script:
- node --version
- npm --version
- if [[ ${nodejs_version} != 16 ]]; then npm run test; fi;
- if [[ ${nodejs_version} == 16 ]]; then npm run coverage; npx codecov; fi;
build: false