Update git submodules
[docs.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==0.11
10     coala-bears==0.11
11     # Requests 2.16 breaks coala dependency on chardet
12     requests<2.16
13     nodeenv==1.1.2
14 commands =
15     nodeenv -p
16     npm install --global remark-cli remark-lint
17     coala --non-interactive
18
19 [testenv:docs]
20 deps = -rrequirements.txt
21 commands =
22     sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
23     echo "Generated docs available in {toxinidir}/docs/_build/html"
24 whitelist_externals = echo
25
26 [testenv:docs-linkcheck]
27 deps = -rrequirements.txt
28 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck