forked from btmills/prettier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
94 lines (85 loc) · 2.14 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
trigger:
- master
- release-*
variables:
AST_COMPARE: true
ENABLE_TEST_RESULTS: true
ENABLE_CODE_COVERAGE: "" # only enable coverage on the fastest job
jobs:
- job: Dev_Lint
displayName: Dev Lint on Linux Node v10
pool:
vmImage: "Ubuntu 16.04"
variables:
node_version: 10
steps:
- template: .azure-pipelines/jobs/dev-lint.yml
- job: Dev_Test_Windows
displayName: Dev Test on Windows Node v10
pool:
vmImage: vs2017-win2016
variables:
node_version: 10
TEST_CRLF: true
steps:
- template: .azure-pipelines/jobs/dev-test.yml
- job: Dev_Test_macOS
displayName: Dev Test on macOS Node v10
pool:
vmImage: macos-10.13
variables:
node_version: 10
ENABLE_CODE_COVERAGE: true
steps:
- template: .azure-pipelines/jobs/dev-test.yml
- job: Dev_Test_Linux
displayName: Dev Test on Linux Node v10
pool:
vmImage: "Ubuntu 16.04"
variables:
node_version: 10
steps:
- template: .azure-pipelines/jobs/dev-test.yml
- job: Prod_Build
displayName: Prod Build on Linux Node v10
pool:
vmImage: "Ubuntu 16.04"
variables:
node_version: 10
steps:
- template: .azure-pipelines/jobs/prod-build.yml
- job: Prod_Pack
dependsOn: Prod_Build
displayName: Prod Pack on Linux Node v10
pool:
vmImage: "Ubuntu 16.04"
variables:
node_version: 10
steps:
- template: .azure-pipelines/jobs/prod-pack.yml
- job: Prod_Lint
dependsOn: Prod_Build
displayName: Prod Lint on Linux Node v10
pool:
vmImage: "Ubuntu 16.04"
variables:
node_version: 10
steps:
- template: .azure-pipelines/jobs/prod-lint.yml
- job: Prod_Test
dependsOn: Prod_Build
displayName: Prod Test on macOS
pool:
vmImage: macos-10.13
strategy:
matrix:
Node_v4:
node_version: 4
ENABLE_TEST_RESULTS: "" # jest-junit requires node v6+
Node_v10:
node_version: 10
Node_v10_standalone:
node_version: 10
TEST_STANDALONE: true
steps:
- template: .azure-pipelines/jobs/prod-test.yml