Add KRD source code
[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    -name \*.sh -type f \
18 # E006 check for lines longer than 79 columns
19    -print0 | xargs -0 bashate -v -iE006"
20    bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
21    -name \*.rst -type f -print0 | xargs -0 rstcheck"
22
23 [testenv:docs]
24 deps = sphinx
25 commands = sphinx-build -W -b html docs/src docs/build/html