X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=71c91d23ad536aa1aa1c5e8804c16570aecdd5ca;hb=99fb7f7e6c0d23c390924593e1b9e93cceab1ba4;hp=7ebbddc4b228486a8145e552b5d45b98a37c5485;hpb=f845220cd17f89c8e1c68aecb3f0c7e82a56aa03;p=kuberef.git diff --git a/tox.ini b/tox.ini index 7ebbddc..71c91d2 100644 --- a/tox.ini +++ b/tox.ini @@ -5,14 +5,13 @@ [tox] minversion = 3.5 skipsdist = True -envlist = lint,docs +envlist = lint,docs,docs-linkcheck [testenv] passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:lint] -deps = - -r{toxinidir}/test-requirements.txt +deps = -r{toxinidir}/test-requirements.txt whitelist_externals = bash commands = bash -c "find {toxinidir} \ -not -path {toxinidir}/.tox/\* \ @@ -25,12 +24,12 @@ commands = bash -c "find {toxinidir} \ -name \*.rst | xargs rstcheck" [testenv:docs] -deps = -rdocs/requirements.txt +deps = -r{toxinidir}/docs/requirements.txt commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html echo "Generated docs available in {toxinidir}/docs/_build/html" whitelist_externals = echo [testenv:docs-linkcheck] -deps = -rdocs/requirements.txt +deps = -r{toxinidir}/docs/requirements.txt commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck