瀏覽代碼

tox.ini: Specify xunit file

Ask Solem 15 年之前
父節點
當前提交
329aa762b4
共有 1 個文件被更改,包括 4 次插入4 次删除
  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