forked from plus3it/watchmaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
63 lines (56 loc) · 1.29 KB
/
tox.ini
File metadata and controls
63 lines (56 loc) · 1.29 KB
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
; a generative tox configuration, see: https://testrun.org/tox/latest/config.html#generative-envlist
[tox]
envlist =
clean,
check,
{py26,py27,py33,py34,py35,py36,pypy},
report,
docs
[testenv]
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes
passenv =
*
usedevelop = false
deps =
-r{toxinidir}/requirements/test.txt
commands =
{posargs:py.test --cov --cov-report=term-missing -vv tests}
[testenv:docs]
deps =
-r{toxinidir}/requirements/docs.txt
commands =
sphinx-build {posargs:-a -E} -b html docs dist/docs
sphinx-build -b doctest docs dist/docs
sphinx-build -b linkcheck docs dist/docs
[testenv:check]
deps =
-r{toxinidir}/requirements/check.txt
commands =
python setup.py check --strict --metadata --restructuredtext
check-manifest {toxinidir}
flake8
pylint src/watchmaker
[testenv:codecov]
deps =
-r{toxinidir}/requirements/report.txt
skip_install = true
commands =
coverage combine
coverage report
coverage xml --ignore-errors
codecov []
[testenv:report]
deps =
-r{toxinidir}/requirements/report.txt
skip_install = true
commands =
coverage combine
coverage report
coverage html
[testenv:clean]
commands = coverage erase
skip_install = true
deps =
-r{toxinidir}/requirements/report.txt