Fix paths in tox.ini file
[multicloud/k8s.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 skipsdist = True
4 envlist = bashate
5
6 [testenv]
7 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
8 usedevelop = False
9 install_command = pip install {opts} {packages}
10
11 [testenv:bashate]
12 deps =
13    {env:BASHATE_INSTALL_PATH:bashate}
14    rstcheck
15 whitelist_externals = bash
16 commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
17    -not -path {toxinidir}/pkg/dep/\* \
18    -not -path {toxinidir}/src/k8splugin/vendor/\* \
19    -not -path {toxinidir}/src/github.com/\* \
20    -name \*.sh -type f \
21 # E006 check for lines longer than 79 columns
22    -print0 | xargs -0 bashate -v -iE006"
23    bash -c "find {toxinidir}/docs \
24    -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
25
26 [testenv:docs]
27 deps = sphinx
28 commands = sphinx-build -W -b html docs docs/build/html