Merge "Remove the py27 tox target"

This commit is contained in:
Zuul 2017-12-05 01:17:43 +00:00 committed by Gerrit Code Review
commit 07289d6e88
1 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Hold back to 1.4, since that's what's in Fedora 20 repos
# and we don't need anything newer for nova-specs tests
minversion = 1.4
envlist = docs,py27,pep8
envlist = docs,pep8
skipsdist = True
[testenv]
@ -11,9 +11,6 @@ setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
whitelist_externals = find
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
@ -27,6 +24,8 @@ commands =
[testenv:pep8]
deps = -r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
flake8 {posargs}
[flake8]