--- /dev/null
+[tox]
+minversion = 1.6
+envlist = coala,docs
+skipsdist = true
+
+[testenv:coala]
+basepython = python3
+deps =
+ coala
+ coala-bears
+ nodeenv==1.1.2
+commands =
+ nodeenv -p
+ npm install --global write-good
+ python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
+ coala --non-interactive
+
+[testenv:docs]
+deps = -rrequirements-docs.txt
+commands =
+ sphinx-build -W -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-docs.txt
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck