From 1653f5a4ea99669ae7a60be9174da8d04ee096a5 Mon Sep 17 00:00:00 2001 From: Toby Burress Date: Tue, 6 Aug 2013 10:46:29 -0400 Subject: [PATCH] There's got to be a better way to do this --- tox.ini | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index b1e7491..6c2103e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,18 @@ [tox] envlist = py26,py27 +[testenv:py26] +commands= + pip install -r requirements.txt + py.test --cov .tox/py26/lib/python2.6/site-packages/raft tests/unit + +[testenv:py27] +commands= + pip install -r requirements.txt + py.test --cov .tox/py27/lib/python2.7/site-packages/raft tests/unit + [testenv] deps= pytest pytest-cov mock -commands= - pip install -r requirements.txt - py.test --cov raft tests/unit