add python compatibility module
[multicloud/k8s.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index b3a2421..dff3a8b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ envlist = bashate
 [testenv]
 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 usedevelop = False
-install_command = pip install {opts} {packages}
+install_command = pip install --no-cache-dir {opts} {packages}
 
 [testenv:bashate]
 deps =
@@ -24,6 +24,7 @@ deps =
 whitelist_externals = bash
 commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
    -not -path {toxinidir}/pkg/dep/\* \
+   -not -path {toxinidir}/pkg/mod/\* \
    -not -path {toxinidir}/src/k8splugin/vendor/\* \
    -not -path {toxinidir}/src/github.com/\* \
    -name \*.sh -type f \
@@ -33,5 +34,8 @@ commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
    -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
 
 [testenv:docs]
-deps = sphinx
+deps =
+   -r{toxinidir}/docs/requirements-docs.txt
+   -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+   -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
 commands = sphinx-build -W -b html docs docs/build/html