From fc524d9178691b81bb012ada30b082bd823462b2 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Tue, 13 Sep 2011 17:03:43 +0100 Subject: [PATCH] Improves tox for py3k --- requirements/test-py3k.txt | 1 - tox.ini | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/requirements/test-py3k.txt b/requirements/test-py3k.txt index 6b342395..dec94dac 100644 --- a/requirements/test-py3k.txt +++ b/requirements/test-py3k.txt @@ -1,4 +1,3 @@ nose nose-cover3 coverage>=3.0 -PyYAML diff --git a/tox.ini b/tox.ini index 67253f01..f88bea41 100644 --- a/tox.ini +++ b/tox.ini @@ -7,11 +7,26 @@ sitepackages = False commands = nosetests [testenv:py32] +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 -v kombu.tests + nosetests -vd kombu.tests \ + --with-coverage3 \ + --cover3-branch \ + --cover3-xml \ + --cover3-xml-file=coverage.xml \ + --cover3-html \ + --cover3-package=kombu \ + --cover3-exclude="kombu kombu.utils.* \ + kombu.transport.pypika \ + kombu.transport.pycouchdb \ + kombu.transport.mongodb \ + kombu.transport.beanstalk" \ + --with-xunit \ + --xunit-file=nosetests.xml + [testenv:py27] basepython = python2.7