Permalink
Browse files

Add tox.ini for tox (http://tox.testrun.org/)

  • Loading branch information...
1 parent bdafe63 commit 45e9e5a4af9b942d660fd3f174c2ddc3ff28ba3d @msabramo committed Jun 4, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 tox.ini
View
15 tox.ini
@@ -0,0 +1,15 @@
+# Tox (http://tox.testrun.org/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = py26, py27, py30, py31, py32
@scoder

scoder Jun 6, 2012

I guess this should read "py24, py25, py26, py27, py31, py32". Is there a way to specify the latest Py3K development branch? I regularly test against that.

+
+[testenv]
+commands =
+ {envpython} setup.py clean
+ {envpython} setup.py build_ext --inplace
+ make test
+deps =
+ Cython>=0.14.1

2 comments on commit 45e9e5a

Owner

msabramo replied Jun 6, 2012

I know that someone recently added "py33" to the version of tox on the tip in BitBucket. Not sure if that's in a released version yet.

Owner

msabramo replied Jun 6, 2012

https://bitbucket.org/hpk42/tox/changeset/62e7e8014987

Even without tox support you can add your own py33 section to the tox.ini

Please sign in to comment.