diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..1c3bd862 --- /dev/null +++ b/tox.ini @@ -0,0 +1,25 @@ +[tox] +minversion = 1.6 +skipsdist = True +envlist = bashate + +[testenv] +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY +usedevelop = False +install_command = pip install {opts} {packages} + +[testenv:bashate] +deps = + {env:BASHATE_INSTALL_PATH:bashate} + rstcheck +whitelist_externals = bash +commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \ + -name \*.sh -type f \ +# E006 check for lines longer than 79 columns + -print0 | xargs -0 bashate -v -iE006" + bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \ + -name \*.rst -type f -print0 | xargs -0 rstcheck" + +[testenv:docs] +deps = sphinx +commands = sphinx-build -W -b html docs/src docs/build/html |