Force python 3.8 on Azure
This commit is contained in:
@@ -3,6 +3,8 @@ jobs:
|
|||||||
pool: {vmImage: 'Ubuntu-18.04'}
|
pool: {vmImage: 'Ubuntu-18.04'}
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '3.8'
|
||||||
- bash: |
|
- bash: |
|
||||||
python -m pip install -r requirements-dev.txt
|
python -m pip install -r requirements-dev.txt
|
||||||
python ./bin/run_tests.py
|
python ./bin/run_tests.py
|
||||||
@@ -11,6 +13,8 @@ jobs:
|
|||||||
pool: {vmImage: 'macOS-10.13'}
|
pool: {vmImage: 'macOS-10.13'}
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '3.8'
|
||||||
- bash: |
|
- bash: |
|
||||||
python -m pip install -r requirements-dev.txt
|
python -m pip install -r requirements-dev.txt
|
||||||
python ./bin/run_tests.py
|
python ./bin/run_tests.py
|
||||||
@@ -19,6 +23,8 @@ jobs:
|
|||||||
pool: {vmImage: 'vs2017-win2016'}
|
pool: {vmImage: 'vs2017-win2016'}
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '3.8'
|
||||||
- script: choco install vcpython27 -f -y
|
- script: choco install vcpython27 -f -y
|
||||||
displayName: Install Visual C++ for Python 2.7
|
displayName: Install Visual C++ for Python 2.7
|
||||||
- bash: |
|
- bash: |
|
||||||
|
|||||||
Reference in New Issue
Block a user