forked from gregwym/drf-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
69 lines (48 loc) · 909 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
59
60
61
62
63
64
65
66
67
68
69
[tox]
envlist =
py3.3,
py3.3-pgfields,
py2.7,
py2.7-pgfields,
docs,
_coverage,
[testenv]
basepython = python3.3
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = d
commands =
coverage run -p tests/runtests.py
deps =
-r{toxinidir}/requirements.txt
coverage
[testenv:py3.3]
[testenv:py3.3-pgfields]
deps =
{[testenv]deps}
django-pgfields>=1.4.1
[testenv:py2.7]
basepython = python2.7
deps =
{[testenv]deps}
mock
[testenv:py2.7-pgfields]
basepython = python2.7
deps =
{[testenv:py2.7]deps}
django-pgfields>=1.4.1
[testenv:docs]
basepython = python2.7
changedir = docs
deps = sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:_coverage]
basepython = python3.3
deps =
coverage
commands =
coverage combine
coverage report -m
coverage html
coverage erase