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:
parent
f1f8f5e98e
commit
7bb16f7501
4
tox.ini
4
tox.ini
@ -92,12 +92,12 @@ commands = {[testenv:cover]commands}
|
|||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
sitepackages = False
|
sitepackages = False
|
||||||
envdir = {toxworkdir}/venv
|
envdir = {toxworkdir}/pep8
|
||||||
commands = {toxinidir}/tools/config/generate_sample.sh from_tox
|
commands = {toxinidir}/tools/config/generate_sample.sh from_tox
|
||||||
|
|
||||||
[testenv:genopts]
|
[testenv:genopts]
|
||||||
sitepackages = False
|
sitepackages = False
|
||||||
envdir = {toxworkdir}/venv
|
envdir = {toxworkdir}/pep8
|
||||||
commands = {toxinidir}/tools/config/generate_sample.sh from_tox --nosamplefile
|
commands = {toxinidir}/tools/config/generate_sample.sh from_tox --nosamplefile
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user