Don't override tox envdir for pep8 and cover jobs

infra's run-pep8 and run-coverage jobs assume the envdir for pep8 and
cover jobs are not overwritten, so it can call out to .tox/pep8/bin/pip
and .tox/coverage/bin/pip respectively.

This bug is causing keystone pep8 and coverage jobs to occasionally fail
in the gate.

If the motivation behind overriding the envdir jobs to use venv, one can
use devpi and/or wheels to speed up the process of building a venv.

Change-Id: I32cd46152caa73e1308fdd216ba016c80a5a9b4f
Closes-Bug: #1352134
This commit is contained in:
Joe Gordon 2014-08-04 15:07:54 +10:00
parent 1ac43796ec
commit 0970c250b5

View File

@ -45,7 +45,6 @@ commands =
keystone/tests/unit
[testenv:pep8]
envdir = {toxworkdir}/venv
commands =
flake8 {posargs}
# Run bash8 during pep8 runs to ensure violations are caught by
@ -62,7 +61,6 @@ commands =
downloadcache = ~/cache/pip
[testenv:cover]
envdir = {toxworkdir}/venv
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]