forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (30 loc) · 677 Bytes
/
tox.ini
File metadata and controls
33 lines (30 loc) · 677 Bytes
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
[tox]
envlist = py27,lint,docs
skipsdist = True
[testenv]
setenv =
PYTHONPATH={toxinidir}/readthedocs:{toxinidir}
DJANGO_SETTINGS_MODULE=settings.test
LANG=C
DJANGO_SETTINGS_SKIP_LOCAL=True
deps = -r{toxinidir}/requirements/pip.txt
changedir = {toxinidir}/readthedocs
commands =
py.test {posargs}
[testenv:docs]
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
deps =
{[testenv]deps}
maxcdn
astroid<1.4
pylint<1.5
prospector
pylint-django<0.7
commands =
prospector \
--profile-path={toxinidir} \
--profile=prospector \
--die-on-tool-error