forked from readthedocs/recommonmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (37 loc) · 786 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
[tox]
envlist =
py{27,35,36}-sphinx{16,17,18},
# Workaround https://github.com/tox-dev/tox/issues/706
lint-sphinx18
docs-sphinx18
[tox:travis]
2.7 = py27-sphinx{16,17,18}, docs-sphinx16, lint-sphinx16
3.5 = py35-sphinx{16,17,18}
3.6 = py36-sphinx{16,17,18}
[testenv]
setenv =
LANG=C
deps =
.
pytest
sphinx16: Sphinx < 1.7
sphinx17: Sphinx < 1.8
sphinx18: Sphinx < 1.9
commands =
py.test {posargs}
[testenv:docs]
deps =
{[testenv]deps}
sphinx_rtd_theme
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
deps =
{[testenv]deps}
prospector
commands =
prospector \
--profile-path={toxinidir} \
--profile=prospector \
--die-on-tool-error