-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
45 lines (40 loc) · 954 Bytes
/
azure-pipelines.yml
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
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
batch: true
branches:
include: [master, test-me-*]
tags:
include: ['*']
pr:
branches:
include: [master, development]
resources:
repositories:
- repository: cielquan
type: github
endpoint: github
name: cielquan/azure-pipelines-template
ref: refs/tags/0.2.0
variables:
PYTEST_ADDOPTS: "-v -v -ra --showlocals"
PYTEST_XDIST_N: '0'
jobs:
- template: jobs/run-tox.yml@cielquan
parameters:
tox_envs:
pre-commit:
display_name: pre_commit
safety: null
py36:
os: [linux, windows, macOs]
py37:
os: [linux, windows, macOs]
py38:
os: [linux, windows, macOs]
py39: null
pypy3: null
package:
os: [linux, windows, macOs]
coverage:
with_toxenv: 'coverage'
for_envs: [py36, py37, py38, py39, pypy3]