From e405592054fc7a1d74bf7907a041d5a48b03e9f0 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sat, 14 Jun 2014 12:19:51 -0700 Subject: [PATCH] Use tox to create dummy virtualenv within tox --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b432aa9..2bbc4db 100644 --- a/tox.ini +++ b/tox.ini @@ -4,13 +4,16 @@ # and then run "tox" from this directory. [tox] -envlist = dummy, py26, py27, py32, py33, py34 +envlist = py26, py27, py32, py33, py34 [testenv] -commands = py.test {posargs:--cov pipdeptree --cov-report xml --cov-report html --cov-report term-missing tests/} +commands = + tox -e dummy + py.test {posargs:--cov pipdeptree --cov-report xml --cov-report html --cov-report term-missing tests/} deps = pytest pytest-cov +whitelist_externals = tox # --------------------------------------------------------------------------- # Dummy virtualenvs that get created and used by the tests