瀏覽代碼

Last commit should have been for Flask-Celery, doh

Ask Solem 14 年之前
父節點
當前提交
85de477410
共有 1 個文件被更改,包括 12 次插入4 次删除
  1. 12 4
      tox.ini

+ 12 - 4
tox.ini

@@ -11,7 +11,9 @@ 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 --with-xunit --xunit-file=nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml \
+                     --with-coverage3  --cover3-xml          \
+                     --cover3-xml-file=coverage.xml
 
 
 [testenv:py25]
@@ -19,16 +21,22 @@ 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 --with-xunit --xunit-file=nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml \
+                     --with-coverage3  --cover3-xml          \
+                     --cover3-xml-file=coverage.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 --with-xunit --xunit-file=nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml \
+                     --with-coverage3  --cover3-xml          \
+                     --cover3-xml-file=coverage.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 --with-xunit --xunit-file=nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml \
+                     --with-coverage3  --cover3-xml          \
+                     --cover3-xml-file=coverage.xml