blob: 5659611963447c80549c1aa8cd734d65b43a1b1d [file] [log] [blame]
trigger:
- master
- '*.x'
variables:
vmImage: ubuntu-latest
python.version: '3.8'
TOXENV: py
strategy:
matrix:
Python 3.8 Linux:
vmImage: ubuntu-latest
Python 3.8 Windows:
vmImage: windows-latest
Python 3.8 Mac:
vmImage: macos-latest
Python 3.7 Linux:
python.version: '3.7'
Python 3.6 Linux:
python.version: '3.6'
PyPy 3 Linux:
python.version: pypy3
Docs:
TOXENV: docs
Style:
TOXENV: style
pool:
vmImage: $[ variables.vmImage ]
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(python.version)
displayName: Use Python $(python.version)
- script: pip --disable-pip-version-check install -U tox
displayName: Install tox
- script: tox
displayName: Run tox