
This is somewhat ugly since tox does not do shell-expansion so we have to list all files with doctests in. This is fine if new tests are normally unittests however.
35 lines
728 B
INI
35 lines
728 B
INI
[tox]
|
|
envlist = py26,py27
|
|
|
|
[testenv]
|
|
deps = nose
|
|
commands =
|
|
nosetests tests/
|
|
nosetests --with-doctest eventlet/coros.py eventlet/event.py \
|
|
eventlet/pool.py eventlet/pools.py eventlet/proc.py \
|
|
eventlet/queue.py eventlet/timeout.py
|
|
|
|
[testenv:py26selects]
|
|
basepython = python2.6
|
|
setenv = EVENTLET_HUB = selects
|
|
|
|
[testenv:py26poll]
|
|
basepython = python2.6
|
|
setenv = EVENTLET_HUB = poll
|
|
|
|
[testenv:py26epolls]
|
|
basepython = python2.6
|
|
setenv = EVENTLET_HUB = epolls
|
|
|
|
[testenv:py27selects]
|
|
basepython = python2.7
|
|
setenv = EVENTLET_HUB = selects
|
|
|
|
[testenv:py27poll]
|
|
basepython = python2.7
|
|
setenv = EVENTLET_HUB = poll
|
|
|
|
[testenv:py27epolls]
|
|
basepython = python2.7
|
|
setenv = EVENTLET_HUB = epolls
|