Skip to content

Commit 4e868b4

Browse files
committed
ci: Update Ubuntu to 20.04
Azure pipelines removed the option of Ubuntu 16.04 and ubuntu-latest. Upgrade to the current latest LTS release of Ubuntu explicitly.
1 parent 3c51559 commit 4e868b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 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
@@ -38,15 +38,15 @@ stages:
3838
sendCoverage: "false"
3939
linux_python_3_6:
4040
python.version: "3.6"
41-
imageName: ubuntu-16.04
41+
imageName: ubuntu-20.04
4242
sendCoverage: "false"
4343
linux_python_3_7:
4444
python.version: "3.7"
45-
imageName: ubuntu-16.04
45+
imageName: ubuntu-20.04
4646
sendCoverage: "false"
4747
linux_python_3_8:
4848
python.version: "3.8"
49-
imageName: ubuntu-16.04
49+
imageName: ubuntu-20.04
5050
sendCoverage: "true"
5151
mac_python_2_7:
5252
python.version: "2.7"
@@ -181,7 +181,7 @@ stages:
181181
runOnce:
182182
deploy:
183183
pool:
184-
vmImage: 'ubuntu-latest'
184+
vmImage: 'ubuntu-20.04'
185185
steps:
186186
- checkout: self
187187

0 commit comments

Comments
 (0)