[tox]
minversion = 1.6.0
-envlist = docs
+envlist = coala,docs
skipsdist = true
+[testenv:coala]
+basepython = python3
+deps =
+ coala==0.11.0
+ coala-bears==0.11.0
+commands =
+ python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
+ coala --non-interactive
+
[testenv:docs]
-deps = sphinx
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+deps = -rdocs/requirements.txt
+commands =
+ sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html