@@ -15,7 +15,7 @@ stages:
15
15
- job : code_style_check
16
16
17
17
pool :
18
- vmImage : ubuntu-16 .04
18
+ vmImage : ubuntu-20 .04
19
19
20
20
steps :
21
21
- task : UsePythonVersion@0
@@ -32,26 +32,18 @@ stages:
32
32
strategy :
33
33
maxParallel : 10
34
34
matrix :
35
- linux_python_2_7 :
36
- python.version : " 2.7"
37
- imageName : ubuntu-16.04
38
- sendCoverage : " false"
39
35
linux_python_3_6 :
40
36
python.version : " 3.6"
41
- imageName : ubuntu-16 .04
37
+ imageName : ubuntu-20 .04
42
38
sendCoverage : " false"
43
39
linux_python_3_7 :
44
40
python.version : " 3.7"
45
- imageName : ubuntu-16 .04
41
+ imageName : ubuntu-20 .04
46
42
sendCoverage : " false"
47
43
linux_python_3_8 :
48
44
python.version : " 3.8"
49
- imageName : ubuntu-16 .04
45
+ imageName : ubuntu-20 .04
50
46
sendCoverage : " true"
51
- mac_python_2_7 :
52
- python.version : " 2.7"
53
- imageName : macOS-10.15
54
- sendCoverage : " false"
55
47
mac_python_3_6 :
56
48
python.version : " 3.6"
57
49
imageName : macOS-10.15
@@ -64,21 +56,17 @@ stages:
64
56
python.version : " 3.8"
65
57
imageName : macOS-10.15
66
58
sendCoverage : " false"
67
- windows_python_2_7 :
68
- python.version : " 2.7"
69
- imageName : vs2017-win2016
70
- sendCoverage : " false"
71
59
windows_python_3_6 :
72
60
python.version : " 3.6"
73
- imageName : vs2017-win2016
61
+ imageName : windows-2019
74
62
sendCoverage : " false"
75
63
windows_python_3_7 :
76
64
python.version : " 3.7"
77
- imageName : vs2017-win2016
65
+ imageName : windows-2019
78
66
sendCoverage : " false"
79
67
windows_python_3_8 :
80
68
python.version : " 3.8"
81
- imageName : vs2017-win2016
69
+ imageName : windows-2019
82
70
sendCoverage : " false"
83
71
84
72
pool :
@@ -162,6 +150,8 @@ stages:
162
150
jobs :
163
151
- job : ChecksPassing
164
152
displayName : ' Checks Passing'
153
+ pool :
154
+ vmImage : ubuntu-20.04
165
155
# A dummy job is required due to a bug in Azure which runs the previous job if nothing is defined.
166
156
steps :
167
157
- bash : echo "All prerequisite stages have passed and the package should be suitable for release."
@@ -181,7 +171,7 @@ stages:
181
171
runOnce :
182
172
deploy :
183
173
pool :
184
- vmImage : ' ubuntu-latest '
174
+ vmImage : ' ubuntu-20.04 '
185
175
steps :
186
176
- checkout : self
187
177
0 commit comments