Skip to content

Commit e6ec2da

Browse files
authored
Merge pull request #279 from Patater/drop-azure-testing-old-ubuntu-python
Upgrade Azure testing images and drop CI testing of Python 2
2 parents cba68de + c4e0c80 commit e6ec2da

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stages:
1515
- job: code_style_check
1616

1717
pool:
18-
vmImage: ubuntu-16.04
18+
vmImage: ubuntu-20.04
1919

2020
steps:
2121
- task: UsePythonVersion@0
@@ -32,26 +32,18 @@ stages:
3232
strategy:
3333
maxParallel: 10
3434
matrix:
35-
linux_python_2_7:
36-
python.version: "2.7"
37-
imageName: ubuntu-16.04
38-
sendCoverage: "false"
3935
linux_python_3_6:
4036
python.version: "3.6"
41-
imageName: ubuntu-16.04
37+
imageName: ubuntu-20.04
4238
sendCoverage: "false"
4339
linux_python_3_7:
4440
python.version: "3.7"
45-
imageName: ubuntu-16.04
41+
imageName: ubuntu-20.04
4642
sendCoverage: "false"
4743
linux_python_3_8:
4844
python.version: "3.8"
49-
imageName: ubuntu-16.04
45+
imageName: ubuntu-20.04
5046
sendCoverage: "true"
51-
mac_python_2_7:
52-
python.version: "2.7"
53-
imageName: macOS-10.15
54-
sendCoverage: "false"
5547
mac_python_3_6:
5648
python.version: "3.6"
5749
imageName: macOS-10.15
@@ -64,21 +56,17 @@ stages:
6456
python.version: "3.8"
6557
imageName: macOS-10.15
6658
sendCoverage: "false"
67-
windows_python_2_7:
68-
python.version: "2.7"
69-
imageName: vs2017-win2016
70-
sendCoverage: "false"
7159
windows_python_3_6:
7260
python.version: "3.6"
73-
imageName: vs2017-win2016
61+
imageName: windows-2019
7462
sendCoverage: "false"
7563
windows_python_3_7:
7664
python.version: "3.7"
77-
imageName: vs2017-win2016
65+
imageName: windows-2019
7866
sendCoverage: "false"
7967
windows_python_3_8:
8068
python.version: "3.8"
81-
imageName: vs2017-win2016
69+
imageName: windows-2019
8270
sendCoverage: "false"
8371

8472
pool:
@@ -162,6 +150,8 @@ stages:
162150
jobs:
163151
- job: ChecksPassing
164152
displayName: 'Checks Passing'
153+
pool:
154+
vmImage: ubuntu-20.04
165155
# A dummy job is required due to a bug in Azure which runs the previous job if nothing is defined.
166156
steps:
167157
- bash: echo "All prerequisite stages have passed and the package should be suitable for release."
@@ -181,7 +171,7 @@ stages:
181171
runOnce:
182172
deploy:
183173
pool:
184-
vmImage: 'ubuntu-latest'
174+
vmImage: 'ubuntu-20.04'
185175
steps:
186176
- checkout: self
187177

0 commit comments

Comments
 (0)