-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
58 lines (42 loc) · 741 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
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
envlist =
_setup,
py3.4,
py3.3,
py2.7,
_coverage,
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands =
coverage run -p tests/runtests.py
deps =
-r{toxinidir}/requirements.txt
coverage>=3.6
[testenv:_setup]
commands =
coverage erase
deps =
coverage
[testenv:py3.4]
basepython = python3.4
[testenv:py3.3]
basepython = python3.3
[testenv:py2.7]
basepython = python2.7
deps =
{[testenv]deps}
mock
# [testenv:docs]
# changedir = docs
# deps = sphinx
# commands =
# sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:_coverage]
basepython = python3
deps =
coverage
commands =
coverage combine
coverage report -m
coverage html