forked from Supervisor/supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (41 loc) · 1009 Bytes
/
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
[tox]
envlist =
cover,cover3,docs,py27,py34,py35,py36,py37,py38
[testenv]
deps =
pytest
pexpect == 4.7.0 # see https://github.com/Supervisor/supervisor/issues/1327
mock >= 0.5.0
passenv = END_TO_END
commands =
py.test {posargs}
[testenv:py27-configparser]
;see https://github.com/Supervisor/supervisor/issues/1230
basepython = python2.7
deps =
{[testenv]deps}
configparser
passenv = {[testenv]passenv}
commands = {[testenv]commands}
[testenv:cover]
basepython = python2.7
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
deps =
{[testenv]deps}
pytest-cov
[testenv:cover3]
basepython = python3.7
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
deps =
{[testenv:cover]deps}
[testenv:docs]
deps =
Sphinx
readme
setuptools >= 18.5
whitelist_externals = make
commands =
make -C docs html BUILDDIR={envtmpdir} "SPHINXOPTS=-W -E"
python setup.py check -m -r -s