/
tox.ini
63 lines (50 loc) · 1.16 KB
/
tox.ini
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
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
envlist = python27,python33,python34,python35,python36,python37,python38,python39,pypy,pypy3
[testenv]
deps =
pytest==4.5.0
attrs==20.3.0
sh==1.12.14
pyyaml==5.1
commands =
pytest {posargs:test} --junitxml=junit-{envname}.xml --maxfail=1 --verbose
[testenv:python27]
basepython = /usr/bin/python2.7
[testenv:python33]
basepython = /usr/bin/python3.3
deps =
pytest==3.2.5
sh==1.12.14
pyyaml==3.13
[testenv:python34]
basepython = /usr/bin/python3.4
[testenv:python35]
basepython = /usr/bin/python3.5
[testenv:python36]
basepython = /usr/bin/python3.6
[testenv:python37]
basepython = /usr/bin/python3.7
[testenv:python38]
basepython = /usr/bin/python3.8
[testenv:python39]
basepython = /usr/local/bin/python3.9
[testenv:python310]
basepython = /usr/local/bin/python3.10
setenv =
PIP_CONSTRAINT={toxinidir}/tox/pyyaml-5.4.1-constraints.txt
deps =
pytest==6.2.4
sh==1.14.2
pyyaml==5.4.1
pyperf==2.2.0
[testenv:python311]
basepython = /usr/local/bin/python3.11
deps =
pytest==7.1.2
sh==1.14.3
pyyaml==6.0.0
pyperf==2.4.1
[testenv:pypy]
basepython = /usr/bin/pypy
[testenv:pypy3]
basepython = /usr/bin/pypy3