]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Tox fast8: use pep8 env dir
authorEric Harney <eharney@redhat.com>
Mon, 12 Oct 2015 14:58:48 +0000 (10:58 -0400)
committerEric Harney <eharney@redhat.com>
Mon, 12 Oct 2015 14:59:31 +0000 (10:59 -0400)
This reuses the .tox/pep8 environment rather than
building a separate .tox/fast8 environment for
fast8.

This reduces duplicated install time and disk space.

Change-Id: I230465b28ba3d0f2c3a2ba38011ff9f7d472d719

tox.ini

diff --git a/tox.ini b/tox.ini
index 6bc5f031433217bbf07cbdf14bfffa61fd405768..b54b40ff16e516acb925779874883cbee94beb6c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,6 +39,8 @@ commands =
   {toxinidir}/tools/check_exec.py {toxinidir}/cinder
 
 [testenv:fast8]
+# Use same environment directory as pep8 env to save space and install time
+envdir = {toxworkdir}/pep8
 commands =
   {toxinidir}/tools/fast8.sh