diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73eb6d257a..3b0e46aa6c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,7 +15,7 @@ stages: - job: code_style_check pool: - vmImage: ubuntu-16.04 + vmImage: ubuntu-20.04 steps: - task: UsePythonVersion@0 @@ -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 @@ -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: @@ -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." @@ -181,7 +171,7 @@ stages: runOnce: deploy: pool: - vmImage: 'ubuntu-latest' + vmImage: 'ubuntu-20.04' steps: - checkout: self