Skip to content

Commit 0e04452

Browse files
committed
Create azure-pipelines.yml
1 parent 1aa2133 commit 0e04452

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

azure-pipelines.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
2+
3+
trigger:
4+
batch: true
5+
branches:
6+
include: [master, test-me-*]
7+
tags:
8+
include: ['*']
9+
10+
pr:
11+
branches:
12+
include: [master, development]
13+
14+
resources:
15+
repositories:
16+
- repository: cielquan
17+
type: github
18+
endpoint: github
19+
name: cielquan/azure-pipelines-template
20+
ref: publish-on-pypi
21+
22+
variables:
23+
PYTEST_ADDOPTS: "-v -v -ra --showlocals"
24+
PYTEST_XDIST_PROC_NR: '0'
25+
26+
jobs:
27+
- template: jobs/run-tox.yml@cielquan
28+
parameters:
29+
tox_envs:
30+
pre-commit:
31+
display_name: pre_commit
32+
safety: null
33+
py36:
34+
os: [linux, windows, macOs]
35+
py37:
36+
os: [linux, windows, macOs]
37+
py38:
38+
os: [linux, windows, macOs]
39+
py39: null
40+
pypy3:
41+
os: [linux, macOs]
42+
package:
43+
os: [linux, windows, macOs]
44+
coverage:
45+
with_toxenv: 'coverage'
46+
for_envs: [py36, py37, py38, py39, pypy3]

0 commit comments

Comments
 (0)