Update the unit tests for Fluorine SR2
[integration/packaging.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 87b76855771c117307f33d4fb24012b92a09dd72..ba1242f4b2ffa7a85ab6e7655323e032b9220fac 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -20,10 +20,14 @@ commands =
 [testenv:docs]
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+    sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
     echo "Generated docs available in {envtmpdir}/html"
 whitelist_externals = echo
 
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
+
 [testenv:pkg_unittests]
 # TODO: Support Python 3
 #basepython = python3