/
.azure-pipelines.yml
65 lines (61 loc) · 1.48 KB
/
.azure-pipelines.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
60
61
62
63
64
65
trigger:
- master
- releases/*
jobs:
- job: Test_Linux
displayName: Run Tests on Linux
pool:
vmImage: "Ubuntu 16.04"
strategy:
matrix:
Node_v10:
node_version: 10
Node_v8:
node_version: 8
Node_v6:
node_version: 6
steps:
- template: .azure-pipelines-steps.yml
- job: Test_Windows
displayName: Run Tests on Windows
pool:
vmImage: "windows-2019"
strategy:
matrix:
Node_v10:
node_version: 10
npm_version: 6.4.1
Node_v8:
node_version: 8
npm_version: 6.4.1
Node_v6:
node_version: 6
steps:
- template: .azure-pipelines-steps.yml
- job: Test_MacOS
displayName: Run Tests on MacOS
pool:
vmImage: "macOS-10.15"
strategy:
matrix:
Node_v10:
node_version: 10
Node_v8:
node_version: 8
Node_v6:
node_version: 6
steps:
- template: .azure-pipelines-steps.yml
- job: Notify_Coveralls
displayName: Notify Coveralls that the parallel report is done
pool:
vmImage: "Ubuntu 16.04"
dependsOn:
- Test_Linux
- Test_Windows
- Test_MacOS
steps:
- script: curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d "payload[build_num]=$BUILD_NAME&payload[status]=done"
env:
COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN_SECRET)
BUILD_NAME: $(Build.BuildNumber)