Add TwistedIOLoop test on python 3 to tox and travis.
This commit is contained in:
parent
1299bd6e2b
commit
e777e6fd6a
|
@ -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
|
||||
|
|
7
tox.ini
7
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}
|
||||
|
|
Loading…
Reference in New Issue