Browse Source

tox.ini: Specify xunit file

Ask Solem 14 years ago
parent
commit
329aa762b4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tox.ini

+ 4 - 4
tox.ini

@@ -11,26 +11,26 @@ basepython = python2.4
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/py24.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests
+           nosetests --with-xunit --xunit-file=../../nosetests.xml
 
 [testenv:py25]
 basepython = python2.5
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/py25.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests
+           nosetests --with-xunit --xunit-file=../../nosetests.xml
 
 [testenv:py26]
 basepython = python2.6
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests
+           nosetests --with-xunit --xunit-file=../../nosetests.xml
 
 [testenv:py27]
 basepython = python2.7
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests
+           nosetests --with-xunit --xunit-file=../../nosetests.xml
 
 [testenv:py27-xunit-xmlcover]
 basepython = python2.7