-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
58 lines (47 loc) · 1.07 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
53
54
55
56
57
58
[tox]
envlist = django1.6,django1.7,django1.8,docs,pylint
[base]
deps =
setuptools
Whoosh
mock
beautifulsoup4
[testenv]
usedevelop = True
basepython = /usr/bin/python2.7
commands =
python2 {toxinidir}/../hyperkitty_standalone/manage.py test {posargs:hyperkitty}
[testenv:django1.6]
deps =
{[base]deps}
Django>=1.6, <1.7
[testenv:django1.7]
deps =
{[base]deps}
Django>=1.7, <1.8a1
[testenv:django1.8]
deps =
{[base]deps}
Django>=1.8, <1.9a1
[testenv:coverage]
deps =
{[base]deps}
Django>=1.7, <1.8a1
coverage
usedevelop = True
commands =
coverage run --rcfile coveragerc {toxinidir}/../hyperkitty_standalone/manage.py test {posargs:hyperkitty}
coverage html --rcfile coveragerc
[testenv:docs]
changedir = doc
deps = sphinx
commands=
mkdir -p {toxinidir}/doc/_static
sphinx-build -W -D html_theme=alabaster -b html -d {envtmpdir}/doctrees . {toxinidir}/doc/_build/html
[testenv:pylint]
deps =
{[base]deps}
pylint
usedevelop = True
commands =
pylint --report n --rcfile pylintrc --disable I,R,C hyperkitty