Add a tox config for testing with the pyuv-based IOLoop.

This commit is contained in:
Ben Darnell 2013-02-13 23:03:25 -05:00
parent 0126e2eaab
commit d98afd41f1
1 changed files with 15 additions and 0 deletions

15
maint/test/pyuv/tox.ini Normal file
View File

@ -0,0 +1,15 @@
[tox]
envlist = py27
setupdir = ../../..
[testenv]
# tornado-pyuv is not installable unless pyuv is installed first;
# listing them both in deps doesn't install them in order.
commands =
pip install git+https://github.com/saghul/tornado-pyuv.git
python -m tornado.test.runtests --ioloop=tornado_pyuv.UVLoop {posargs:}
# twisted tests don't work on pyuv IOLoop currently.
deps =
git+https://github.com/saghul/pyuv.git
futures
mock