From a8856c25bc74e902e66a759b3f38caab10ae0c1a Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Wed, 14 Sep 2011 01:02:56 +0100 Subject: [PATCH] tox: Store cover in toplevel directory --- tox.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 727123fa..9159f514 100644 --- a/tox.ini +++ b/tox.ini @@ -17,8 +17,8 @@ commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} --with-coverage3 \ --cover3-branch \ --cover3-xml \ - --cover3-xml-file=coverage.xml \ - --cover3-html \ + --cover3-xml-file=../coverage.xml \ + --cover3-html-dir=../cover \ --cover3-package=kombu \ --cover3-exclude="kombu kombu.utils.* \ kombu.transport.pypika \ @@ -35,6 +35,7 @@ deps = -r{toxinidir}/requirements/default.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ + --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml [testenv:py26] @@ -44,6 +45,7 @@ deps = -r{toxinidir}/requirements/default.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ + --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml [testenv:py25] @@ -53,6 +55,7 @@ deps = -r{toxinidir}/requirements/default.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ + --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -64,6 +67,7 @@ deps = -r{toxinidir}/requirements/default.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ + --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -74,4 +78,5 @@ deps = -r{toxinidir}/requirements/default.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} nosetests --with-xunit --xunit-file=nosetests.xml \ --with-coverage3 --cover3-xml \ + --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml