summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-11-11 11:53:55 -0500
committerMicah Anderson <micah@riseup.net>2014-11-11 11:53:55 -0500
commit7d5c3dcd969161322deed6c43f8a6a3cb92c3369 (patch)
tree109b05c88c7252d7609ef324d62ef9dd7f06123f /tox.ini
parent44be832c5708baadd146cb954befbc3dcad8d463 (diff)
upgrade to 14.4.1upstream/14.4.1
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