Permalink
Browse files

Add tox.

  • Loading branch information...
1 parent 0fb3e74 commit 77e0f5896e43d933f929f4c2b9ab5bdba5ce40df @tseaver tseaver committed Mar 25, 2012
Showing with 30 additions and 0 deletions.
  1. +30 −0 tox.ini
View
30 tox.ini
@@ -0,0 +1,30 @@
+[tox]
+envlist =
+ py26,py27,cover
+
+[testenv]
+commands =
+ python setup.py test -q
+deps =
+ ZODB3
+ ZConfig
+ virtualenv
+ setuptools-git
+
+[testenv:cover]
+basepython =
+ python2.6
+commands =
+ nosetests --with-xunit --with-xcoverage
+deps =
+ ZODB3
+ ZConfig
+ virtualenv
+ nose
+ coverage
+ nosexcover
+ setuptools-git
+
+# we separate coverage into its own testenv because a) "last run wins" wrt
+# cobertura jenkins reporting and b) pypy and jython can't handle any
+# combination of versions of coverage and nosexcover that i can find.

0 comments on commit 77e0f58

Please sign in to comment.