-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
52 lines (46 loc) · 1.05 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
[tox]
envlist=py{311,310,39,38,37,36,35,34,33,32,31,27,26},jython,docs
whitelist_externals=
make
[gh-actions]
python =
2.6: py26
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps=
py{27,31,33,34,35,36,37,38,39,310,311}: coverage >= 3.3
py32: coverage >= 3.3, <4.0
py{35,36,37,38,39,310,311}: twisted
install_command = pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org {opts} {packages}
commands=
python setup.py install
python selftest.py []
# tox -e oldcov to spot check 2.x version of coverage. However, there is a
# doctest that will fail (currently)
[testenv:oldcov]
basepython=python2.6
deps= coverage < 3
[testenv:docs]
basepython=python
changedir=doc
deps=sphinx>=1.0
commands=
make man readme html
[testenv:jython]
basepython=jython
# cannot add coverage as a dep because
# it compiles C extensions
deps=
commands=
jython selftest.py []
[testenv:pypy]
# cannot add coverage as a dep because
# it compiles C extensions
deps=