diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +[tox] +minversion = 1.6 +skipsdist = True +envlist = rstcheck + +[testenv] +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY +usedevelop = False +install_command = pip install {opts} {packages} + +[testenv:rstcheck] +deps = rstcheck +whitelist_externals = bash +commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \ + -name \*.rst -type f -print0 | xargs -0 rstcheck" + +[testenv:docs] +deps = + sphinx + sphinxcontrib-swaggerdoc +commands = sphinx-build -W -b html docs docs/build/html |