Merge pull request #1234 from Curita/add-docs-build-to-travis

Add docs build to travis
This commit is contained in:
Daniel Graña 2015-05-14 23:02:49 -03:00
commit fc1aaeb74d
2 changed files with 13 additions and 3 deletions

View File

@ -4,6 +4,7 @@ env:
- TOXENV=py27
- TOXENV=precise
- TOXENV=py33
- TOXENV=docs
install:
- "./.travis-workarounds.sh"
- pip install -U tox

15
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 . build/html
sphinx-build -W -b linkcheck . build/linkcheck
sphinx-build -W -b html . {envtmpdir}/html
[testenv:docs-links]
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck