-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
50 lines (44 loc) · 874 Bytes
/
azure-pipelines.yml
File metadata and controls
50 lines (44 loc) · 874 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
45
46
47
48
49
50
---
strategy:
matrix:
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
macOS:
python.version: '3.7'
POOL_IMAGE: macos-10.13
Windows:
python.version: '3.7'
POOL_IMAGE: vs2017-win2016
installzic: 'windows'
Black:
python.version: '3.7'
TOXENV: black-check
Docs:
python.version: '3.7'
TOXENV: docs
Build:
python.version: '3.7'
TOXENV: build
variables:
TOXENV: py
POOL_IMAGE: ubuntu-16.04
PYTHON: 'python'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(python.version)
- bash: |
$PYTHON -m pip install -U tox
displayName: Ensure prereqs
- bash: |
$PYTHON -m tox
if [[ $TOXENV == "py" ]];
then
$PYTHON -m tox -e coverage,codecov
fi
displayName: Run tox
...