Parcourir la source

tox.ini: Specify xunit file

Ask Solem il y a 15 ans
Parent
commit
329aa762b4
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  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