diff --git a/tox.ini b/tox.ini index 97b4cf4a..b19c3dd2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,12 @@ [tox] -minversion = 2.0 +minversion = 3.1 skipsdist = True envlist = docs,linters +ignore_basepython_conflict = True [testenv] usedevelop = True +basepython = python3 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} commands = @@ -28,7 +30,6 @@ setenv = WORKING_DIR={toxinidir} [testenv:docs] -basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands= bash -c "rm -rf doc/build" @@ -41,12 +42,10 @@ extensions = .rst # environment used by the -infra templated docs job [testenv:venv] -basepython = python3 commands = {posargs} [testenv:pep8] -basepython = python3 commands = bash -c "{toxinidir}/tests/common/test-pep8.sh" @@ -57,12 +56,10 @@ commands = ignore=F403 [testenv:bashate] -basepython = python3 commands = bash -c "{toxinidir}/tests/common/test-bashate.sh" [testenv:linters] -basepython = python3 commands = bash -c "{toxinidir}/tests/common/test-ansible-env-prep.sh" {[testenv:pep8]commands}