mirror of
https://github.com/vale981/recommonmark
synced 2025-03-04 09:31:38 -05:00
41 lines
786 B
INI
41 lines
786 B
INI
[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
|