diff --git a/tox.ini b/tox.ini index 3bc8d18e..cafecaca 100644 --- a/tox.ini +++ b/tox.ini @@ -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