浏览代码

add tox.ini

Chris McDonough 14 年之前
父节点
当前提交
ea618a0f24
共有 1 个文件被更改,包括 24 次插入0 次删除
  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