Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add tox

  • Loading branch information...
commit 9b03279a4cb82a573bb99ccd3653b941474b5ac1 1 parent de60087
@chrisrossi chrisrossi authored
Showing with 27 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +26 −0 tox.ini
View
1  .gitignore
@@ -7,6 +7,7 @@ lib
*.DS_Store
.coverage
*.sw?
+.tox
dist
_build
venv
View
26 tox.ini
@@ -0,0 +1,26 @@
+[tox]
+envlist =
+ py26,py27,py32,pypy,cover
+
+[testenv]
+commands =
+ python setup.py test
+deps =
+
+[testenv:py32]
+commands =
+ python setup.py test
+deps =
+
+[testenv:cover]
+basepython =
+ python2.6
+commands =
+ python setup.py dev
+ python setup.py nosetests
+deps =
+
+# 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.
+
Please sign in to comment.
Something went wrong with that request. Please try again.