]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add TwistedIOLoop test on python 3 to tox and travis.
authorBen Darnell <ben@bendarnell.com>
Sun, 25 May 2014 04:48:15 +0000 (00:48 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 25 May 2014 04:48:15 +0000 (00:48 -0400)
.travis.yml
tox.ini

index efe7b07412028f8ed94c9dad0b6044315d9a73f1..cf63b335906a1a0a3cb4a4b4729a80c75e4e396a 100644 (file)
@@ -49,7 +49,7 @@ script:
     - if [[ $TRAVIS_PYTHON_VERSION != pypy && $DEPS == true ]]; then python $TARGET --resolver=tornado.netutil.ThreadedResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python $TARGET --httpclient=tornado.curl_httpclient.CurlAsyncHTTPClient; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python $TARGET --ioloop_time_monotonic; fi
-    - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python $TARGET --ioloop=tornado.platform.twisted.TwistedIOLoop; fi
+    - if [[ $TRAVIS_PYTHON_VERSION != '3.2 && $DEPS == true ]]; then python $TARGET --ioloop=tornado.platform.twisted.TwistedIOLoop; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python $TARGET --resolver=tornado.platform.twisted.TwistedResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION != pypy && $DEPS == true ]]; then python $TARGET --resolver=tornado.platform.caresresolver.CaresResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python $TARGET --ioloop_time_monotonic; fi
diff --git a/tox.ini b/tox.ini
index 65b150ae315de3e402b21968450220b9cbdd8a8e..6a07c501ca579354aa1ada3ffeaa30aded6c9fb2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,7 @@ envlist =
 
         # Alternate IOLoops.
         py2-select, py3-select,
-        py2-twisted, py26-twisted, py2-twistedlayered,
+        py2-twisted, py26-twisted, py3-twisted, py2-twistedlayered,
         py3-asyncio, py33-asyncio, py26-trollius, py2-trollius,
 
         # Alternate Resolvers.
@@ -177,6 +177,11 @@ basepython = python2.6
 deps = {[testenv:py26-full]deps}
 commands = python -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop {posargs:}
 
+[testenv:py3-twisted]
+basepython = python3.4
+deps = {[testenv:py34-full]deps}
+commands = python -m tornado.test.runtests --ioloop=tornado.platform.twisted.TwistedIOLoop {posargs:}
+
 [testenv:py2-twistedlayered]
 basepython = python2.7
 deps = {[testenv:py27-full]deps}