Use AP's cached 3.8

This commit is contained in:
Hynek Schlawack 2020-01-06 09:15:49 +01:00
parent 6fcb759862
commit 71cd8af3be
1 changed files with 7 additions and 7 deletions

View File

@ -67,15 +67,15 @@ jobs:
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
condition: not(in(variables['python.version'], '3.8'))
# condition: not(in(variables['python.version'], '3.8'))
displayName: Use cached Python $(python.version) for tests.
- script: |
sudo add-apt-repository ppa:deadsnakes
sudo apt-get update
sudo apt-get install -y --no-install-recommends python$(python.version)-dev python$(python.version)-distutils
condition: in(variables['python.version'], '3.8')
displayName: Install Python $(python.version) from the deadsnakes PPA for tests.
# - script: |
# sudo add-apt-repository ppa:deadsnakes
# sudo apt-get update
# sudo apt-get install -y --no-install-recommends python$(python.version)-dev python$(python.version)-distutils
# condition: in(variables['python.version'], '3.8')
# displayName: Install Python $(python.version) from the deadsnakes PPA for tests.
- script: $(pyTools.pythonLocation)/bin/tox -e $(tox.env)
env: