Create separate testenvs to build docs and check links

This commit is contained in:
Julia Medina 2015-05-14 20:41:55 -03:00
parent a555778013
commit ec54942925
1 changed files with 10 additions and 1 deletions

11
tox.ini
View File

@ -57,10 +57,19 @@ deps =
basepython = python3.4
deps = {[testenv:py33]deps}
[testenv:docs]
[docs]
changedir = docs
deps =
Sphinx
[testenv:docs]
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:docs-links]
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck