From e0dbb3f7fa7450ae577f707c8942f452171551b6 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Tue, 29 Oct 2019 15:48:28 -0400 Subject: Drop Python2 support Change-Id: I6f248dfd82502ef225ba755246c2de385d30f4b2 --- tox.ini | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 596d9f30b..7e0663164 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py27,pep8 +envlist = py36,py37,pep8 minversion = 1.6 skipsdist = True @@ -12,20 +12,11 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.ope deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete stestr run {posargs} stestr slowest -whitelist_externals = - bash - find passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY -[testenv:py27log] -commands = - find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete - stestr run '^(?!heat_integrationtests){posargs}' - [testenv:pep8] basepython = python3 commands = @@ -57,7 +48,6 @@ setenv = PYTHON=coverage run --source heat --parallel-mode commands = coverage erase - find {toxinidir} -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete stestr run {posargs} coverage combine coverage html -d cover @@ -76,8 +66,7 @@ basepython = python3 # This environment is called from CI scripts to test and publish # the API Ref to docs.openstack.org. deps = -r{toxinidir}/doc/requirements.txt -whitelist_externals = bash - rm +whitelist_externals = rm commands = rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html -- cgit v1.2.1