From 724f297d9548ddaff0ecc286b714e06fc201ccc3 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Tue, 7 Aug 2012 23:58:34 +0100 Subject: [PATCH] Add test environments for all hubs --- tox.ini | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index c847339..2d76f71 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,29 @@ envlist = py26,py27 [testenv] -deps = - nose - pyOpenSSL -commands = nosetests \ No newline at end of file +deps = nose +commands = nosetests tests/ + +[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