diff --git a/tox.ini b/tox.ini index 721d08dc..9a4f9f2d 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =