summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZane Bitter <zbitter@redhat.com>2019-10-29 15:48:28 -0400
committerZane Bitter <zbitter@redhat.com>2019-11-06 16:55:41 +0800
commite0dbb3f7fa7450ae577f707c8942f452171551b6 (patch)
tree9b1b59ee7c4746fc09e1b9ef24b239abad76c3a9 /tox.ini
parent9f3ea0a63e6b0702dd88bc230af9ddf13621e017 (diff)
downloadheat-e0dbb3f7fa7450ae577f707c8942f452171551b6.tar.gz
Drop Python2 support
Change-Id: I6f248dfd82502ef225ba755246c2de385d30f4b2
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 2 insertions, 13 deletions
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