Skip to content

Commit

Permalink
Create separate testenvs to build docs and check links
Browse files Browse the repository at this point in the history
  • Loading branch information
curita committed May 14, 2015
1 parent a555778 commit ec54942
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ec54942

Please sign in to comment.