Don't build two tox envs for pep8(-constraints)

Currently, "tox -e pep8" builds two tox envs:
a "pep8" env, and then a "venv" env for genopts.

This is rather wasteful -- reuse the pep8 env
instead.

Change-Id: I8ba3d4e541f279e5bc62dba2b1caaac447fee7e3
This commit is contained in:
Eric Harney 2015-11-19 16:48:27 -05:00
parent f1f8f5e98e
commit 7bb16f7501

View File

@ -92,12 +92,12 @@ commands = {[testenv:cover]commands}
[testenv:genconfig]
sitepackages = False
envdir = {toxworkdir}/venv
envdir = {toxworkdir}/pep8
commands = {toxinidir}/tools/config/generate_sample.sh from_tox
[testenv:genopts]
sitepackages = False
envdir = {toxworkdir}/venv
envdir = {toxworkdir}/pep8
commands = {toxinidir}/tools/config/generate_sample.sh from_tox --nosamplefile
[testenv:venv]