From e7ac08df3065f07060cc7e25d6afbdc05bcacada Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 14 May 2015 22:53:00 +0200 Subject: [PATCH] Add "docslinkcheck" environment --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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