forked from pallets/flask
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.azure-pipelines.yml
More file actions
44 lines (38 loc) · 785 Bytes
/
Copy path.azure-pipelines.yml
File metadata and controls
44 lines (38 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
trigger:
- master
- '*.x'
variables:
vmImage: ubuntu-latest
python.version: '3.8'
TOXENV: py
strategy:
matrix:
Linux:
vmImage: ubuntu-latest
Windows:
vmImage: windows-latest
Mac:
vmImage: macos-latest
Python 3.7:
python.version: '3.7'
Python 3.6:
python.version: '3.6'
PyPy 3:
python.version: pypy3
Version Range:
TOXENV: 'devel,lowest'
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