forked from prettier/prettier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
117 lines (107 loc) · 2.78 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
trigger:
- master
- release-*
- dev
- prettierx-*
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
# TBD TEMPORARY WORKAROUND here and in
# .azure-pipelines/jobs/prod-test-integration.yml
# to test on Node.js 6 before dropping Node.js 4 support
# FUTURE TODO: remove above workaround job file
# when this job can be removed.
- job: Prod_test_integration
dependsOn: Prod_Build
displayName: Prod test-integration on macOS
pool:
vmImage: macos-10.13
strategy:
matrix:
Node_v6:
node_version: 6
steps:
- template: .azure-pipelines/jobs/prod-test-integration.yml
- job: Prod_Test
dependsOn: Prod_Build
displayName: Prod Test on macOS
pool:
vmImage: macos-10.13
strategy:
matrix:
# TBD NOT WORKING on Node.js 6 for some reason
# (ALSO NOT WORKING on Linux or Windows):
# Node_v6:
# node_version: 6
# ...
Node_v8:
node_version: 8
Node_v10:
node_version: 10
Node_v10_standalone:
node_version: 10
TEST_STANDALONE: true
steps:
- template: .azure-pipelines/jobs/prod-test.yml