Browse Source

add tox.ini

Chris McDonough 14 năm trước cách đây
mục cha
commit
ea618a0f24
1 tập tin đã thay đổi với 24 bổ sung0 xóa
  1. 24 0
      tox.ini

+ 24 - 0
tox.ini

@@ -0,0 +1,24 @@
+[tox]
+envlist = 
+    py24,py25,py26,py27
+# should really have 2.3 in there but i cant built it easily anymore
+# coverage tests fail due to some logger error
+
+[testenv]
+commands = 
+    python setup.py test -q
+deps =
+    mock >= 0.5.0
+    meld3 >= 0.6.5
+
+[testenv:cover]
+basepython =
+    python2.6
+commands = 
+    python setup.py nosetests --with-xunit --with-xcoverage
+deps =
+    mock >= 0.5.0
+    meld3 >= 0.6.5
+    nose
+    coverage
+    nosexcover