From 982211ee94942588c7a64b78f43e48e1478a1331 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 19 Apr 2017 21:27:22 +0300
Subject: [PATCH] - Share the Tox directory just between the Molecule tests
 (sharing between the Molecule tests and pre-commit, which have different
 dependencies, causes every change to rebuild the virtualenv).

---
 tox.ini | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index cd0873a..fca4622 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@ skipsdist = True
 envlist = openbsd60,xenial,trusty,precise,stretch,jessie,wheezy
 
 [testenv]
-envdir = {toxinidir}/.tox
+envdir = {toxinidir}/.tox/molecule
 deps = -rtests/requirements.txt
 passenv = HOME VBOX* ANSIBLE_*
 whitelist_externals =
@@ -14,7 +14,6 @@ commands =
     molecule test --platform {envname}
 
 [testenv:pre-commit]
-envdir = {toxinidir}/.tox
 deps =
     -rtests/requirements.txt
     pre-commit
-- 
GitLab