tox for twisted 33 and 34

This commit is contained in:
HawkOwl 2015-05-11 16:39:50 +08:00
parent 43548b1917
commit 430e3d2f17

18
tox.ini
View File

@ -3,6 +3,8 @@ envlist = flake8,
py26twisted,
py26asyncio,
py27twisted,
py33twisted,
py34twisted,
py27asyncio,
py33asyncio,
py34asyncio,
@ -95,6 +97,22 @@ setenv =
USE_TWISTED = 1
[testenv:py34twisted]
commands =
sh -c "which python"
sh -c "which trial"
sh -c "which coverage"
python -V
coverage --version
# XXX should probably add --branch
# note: always doing --append so we can get coverage across all
# Python versions at once; see "make test_coverage"
coverage run --append --source=autobahn --omit=*test* {envbindir}/py.test autobahn/wamp/test/test_protocol.py autobahn/wamp/test/test_message.py autobahn/wamp/test/test_auth.py autobahn/wamp/test/test_protocol_peer.py autobahn/wamp/test/test_serializer.py autobahn/wamp/test/test_uri_pattern.py autobahn/wamp/test/test_user_handler_errors.py autobahn/websocket/test/test_websocket.py
basepython = python3.4
install_command = pip install {packages} autobahn[twisted,serialization]
setenv =
USE_TWISTED = 1
[testenv:py27asyncio]
commands =