Skip to content

Commit

Permalink
Merge pull request #279 from Patater/drop-azure-testing-old-ubuntu-py…
Browse files Browse the repository at this point in the history
…thon

Upgrade Azure testing images and drop CI testing of Python 2
  • Loading branch information
Patater authored Jan 17, 2022
2 parents cba68de + c4e0c80 commit e6ec2da
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stages:
- job: code_style_check

pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-20.04

steps:
- task: UsePythonVersion@0
Expand All @@ -32,26 +32,18 @@ stages:
strategy:
maxParallel: 10
matrix:
linux_python_2_7:
python.version: "2.7"
imageName: ubuntu-16.04
sendCoverage: "false"
linux_python_3_6:
python.version: "3.6"
imageName: ubuntu-16.04
imageName: ubuntu-20.04
sendCoverage: "false"
linux_python_3_7:
python.version: "3.7"
imageName: ubuntu-16.04
imageName: ubuntu-20.04
sendCoverage: "false"
linux_python_3_8:
python.version: "3.8"
imageName: ubuntu-16.04
imageName: ubuntu-20.04
sendCoverage: "true"
mac_python_2_7:
python.version: "2.7"
imageName: macOS-10.15
sendCoverage: "false"
mac_python_3_6:
python.version: "3.6"
imageName: macOS-10.15
Expand All @@ -64,21 +56,17 @@ stages:
python.version: "3.8"
imageName: macOS-10.15
sendCoverage: "false"
windows_python_2_7:
python.version: "2.7"
imageName: vs2017-win2016
sendCoverage: "false"
windows_python_3_6:
python.version: "3.6"
imageName: vs2017-win2016
imageName: windows-2019
sendCoverage: "false"
windows_python_3_7:
python.version: "3.7"
imageName: vs2017-win2016
imageName: windows-2019
sendCoverage: "false"
windows_python_3_8:
python.version: "3.8"
imageName: vs2017-win2016
imageName: windows-2019
sendCoverage: "false"

pool:
Expand Down Expand Up @@ -162,6 +150,8 @@ stages:
jobs:
- job: ChecksPassing
displayName: 'Checks Passing'
pool:
vmImage: ubuntu-20.04
# A dummy job is required due to a bug in Azure which runs the previous job if nothing is defined.
steps:
- bash: echo "All prerequisite stages have passed and the package should be suitable for release."
Expand All @@ -181,7 +171,7 @@ stages:
runOnce:
deploy:
pool:
vmImage: 'ubuntu-latest'
vmImage: 'ubuntu-20.04'
steps:
- checkout: self

Expand Down

0 comments on commit e6ec2da

Please sign in to comment.