Updated git submodules
[docs.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index d44193016fea575b7f028834e5351d667c4b61cb..ac3f40de2c8268ce982ecd1d71a1d7b42e968821 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,25 @@
 [tox]
 minversion = 1.6
-envlist = docs,docs-linkcheck
+envlist = coala,docs
 skipsdist = true
 
+[testenv:coala]
+basepython = python3
+deps =
+    coala<0.11
+    coala-bears
+    nodeenv
+commands =
+    nodeenv -p
+    npm install --global remark-cli remark-lint
+    coala --non-interactive
+
 [testenv:docs]
 deps = -rrequirements.txt
-commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+commands =
+    sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
 
 [testenv:docs-linkcheck]
 deps = -rrequirements.txt