Documents up-to-date
[doctor.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 8a5df05..2937c32 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,12 @@
 [tox]
 minversion = 2.3.1
-envlist = py34, pep8,docs,docs-linkcheck
+envlist = py36,pep8,docs,docs-linkcheck
 skipsdist = True
 
 [testenv]
 usedevelop = True
-install_command = pip install \
-    -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike \
+install_command = pip3 install \
+    -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/stein \
     {opts} {packages}
 setenv = VIRTUAL_ENV={envdir}
 deps = -r{toxinidir}/requirements.txt
@@ -29,10 +29,13 @@ passenv =
     INSTALLER_TYPE
     INSTALLER_IP
     INSPECTOR_TYPE
+    ADMIN_TOOL_TYPE
     TEST_CASE
     SSH_KEY
+    APP_MANAGER_TYPE
 changedir = {toxinidir}/doctor_tests
 commands = doctor-test
+           /usr/bin/find {toxinidir} -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
 
 [testenv:pep8]
 changedir = {toxinidir}
@@ -51,6 +54,7 @@ filename = *.py,app.wsgi
 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tests
 
 [testenv:docs]
+changedir = {toxinidir}
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -58,5 +62,6 @@ commands =
 whitelist_externals = echo
 
 [testenv:docs-linkcheck]
+changedir = {toxinidir}
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck