diff options
author | Zane Bitter <zbitter@redhat.com> | 2019-10-29 15:48:28 -0400 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2019-11-06 16:55:41 +0800 |
commit | e0dbb3f7fa7450ae577f707c8942f452171551b6 (patch) | |
tree | 9b1b59ee7c4746fc09e1b9ef24b239abad76c3a9 /tox.ini | |
parent | 9f3ea0a63e6b0702dd88bc230af9ddf13621e017 (diff) | |
download | heat-e0dbb3f7fa7450ae577f707c8942f452171551b6.tar.gz |
Drop Python2 support
Change-Id: I6f248dfd82502ef225ba755246c2de385d30f4b2
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -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 |