Add governance docs
[lfn/process.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,docs
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala
10     coala-bears
11     nodeenv==1.1.2
12 commands =
13     nodeenv -p
14     npm install --global write-good
15     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
16     coala --non-interactive
17
18 [testenv:docs]
19 deps = -rrequirements-docs.txt
20 commands =
21     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
22     echo "Generated docs available in {toxinidir}/docs/_build/html"
23 whitelist_externals = echo
24
25 [testenv:docs-linkcheck]
26 deps = -rrequirements-docs.txt
27 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck