Add "docslinkcheck" environment

This commit is contained in:
Ivan Kravets
2015-05-14 22:53:00 +02:00
parent 7b6014c47a
commit e7ac08df30

View File

@ -21,7 +21,14 @@ deps =
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b latex -d {envtmpdir}/doctrees docs docs/_build/latex
/bin/bash -c "if [[ $CI != 'true' ]]; then sphinx-build -W -b linkcheck docs docs/_build/html; fi"
[testenv:docslinkcheck]
basepython = python2.7
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -b linkcheck docs docs/_build/html
[testenv:lint]
basepython = python2.7