summaryrefslogtreecommitdiff
path: root/tox.ini
blob: b3ffc4191e4361850900359c20b66582961df013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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