3 envlist = docs,coala,pkg_unittests
12 # Requests 2.16 breaks dependencies
17 npm install --global dockerfile_lint remark-cli remark-lint write-good
18 python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
19 coala --non-interactive
22 deps = -rdocs/requirements.txt
24 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
25 echo "Generated docs available in {envtmpdir}/html"
26 whitelist_externals = echo
28 [testenv:docs-linkcheck]
29 deps = -rdocs/requirements.txt
30 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
32 [testenv:pkg_unittests]
33 # TODO: Support Python 3
36 -r{toxinidir}/packages/requirements.txt
37 commands = python -m unittest packages.test_lib