[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 = -rdocs/requirements.txt
commands =
- sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
- echo "Generated docs available in {envtmpdir}/html"
-whitelist_externals = echo
+ sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html