From d5d89b58eb2d9b06f36c1f27933da81634a6c8be Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Tue, 13 Sep 2011 18:14:20 +0100 Subject: [PATCH] More tox improvements --- tox.ini | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tox.ini b/tox.ini index ab57ca5c..eaeda3ae 100644 --- a/tox.ini +++ b/tox.ini @@ -10,9 +10,9 @@ commands = nosetests recreate = True basepython = python3.2 changedir = .tox -commands = pip -E {envdir} install -r ../requirements/default.txt - pip -E {envdir} install -r ../requirements/test-py3k.txt - nosetests -vd kombu.tests \ +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test-py3k.txt +commands = nosetests -vd kombu.tests \ --with-coverage3 \ --cover3-branch \ --cover3-xml \ @@ -30,32 +30,32 @@ commands = pip -E {envdir} install -r ../requirements/default.txt [testenv:py27] basepython = python2.7 -commands = pip -E {envdir} install -r requirements/default.txt - pip -E {envdir} install -r requirements/test.txt - nosetests --with-xunit --xunit-file=nosetests.xml \ +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test.txt +commands = nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ --cover3-xml-file=coverage.xml [testenv:py26] basepython = python2.6 -commands = pip -E {envdir} install -r requirements/default.txt - pip -E {envdir} install -r requirements/test.txt - nosetests --with-xunit --xunit-file=nosetests.xml \ +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test.txt +commands = nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ --cover3-xml-file=coverage.xml [testenv:py25] basepython = python2.5 -commands = pip -E {envdir} install -r requirements/default.txt - pip -E {envdir} install -r requirements/test.txt - nosetests --with-xunit --xunit-file=nosetests.xml \ - --with-coverage3 --cover3-xml \ +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test.txt +commands = nosetests --with-xunit --xunit-file=nosetests.xml \ + --with-coverage3 --cover3-xml \ --cover3-xml-file=coverage.xml [testenv:pypy] basepython = pypy -commands = pip -E {envdir} install -r requirements/default.txt - pip -E {envdir} install -r requirements/test-pypy.txt - nosetests --with-xunit --xunit-file=nosetests.xml \ - --with-coverage3 --cover3-xml \ +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test-pypy.txt +commands = nosetests --with-xunit --xunit-file=nosetests.xml \ + --with-coverage3 --cover3-xml \ --cover3-xml-file=coverage.xml