summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-08-11 16:33:29 -0400
committerMicah Anderson <micah@riseup.net>2014-08-11 16:33:29 -0400
commitcce638a8adf4e045ca5505afea4bda57753c31dd (patch)
treeb5e139d3359ac5b8c7b1afa8acbb1b5b6051c626 /tox.ini
initial import of debian package
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 27 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..b3ffc41
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,27 @@
+# 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 = pypy, py26, py27, py32, py33
+
+[testenv]
+changedir = {toxworkdir}
+commands =
+ python -V
+ python -c 'import zmq; print("pyzmq-%s" % zmq.pyzmq_version())'
+ python -c 'import zmq; print("libzmq-%s" % zmq.zmq_version())'
+ nosetests zmq.tests
+deps =
+ nose
+
+[testenv:py27]
+deps =
+ gevent
+ {[testenv]deps}
+[testenv:pypy]
+deps =
+ py
+ cffi
+ nose