Pārlūkot izejas kodu

tox.ini: Specify xunit file

Ask Solem 14 gadi atpakaļ
vecāks
revīzija
329aa762b4
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  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