travis: Build with Python 3.3
This commit is contained in:
committed by
Sergey Shepelev
parent
2b2f0a96b4
commit
983d478eaf
@@ -7,6 +7,14 @@ env:
|
||||
- TOX_ENV=py27selects
|
||||
- TOX_ENV=py27poll
|
||||
- TOX_ENV=py27epolls
|
||||
- TOX_ENV=py33selects
|
||||
- TOX_ENV=py33poll
|
||||
- TOX_ENV=py33epolls
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: TOX_ENV=py33selects
|
||||
- env: TOX_ENV=py33poll
|
||||
- env: TOX_ENV=py33epolls
|
||||
install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq libssl-dev libmysqlclient-dev libpq-dev
|
||||
|
||||
38
tox.ini
38
tox.ini
@@ -11,15 +11,17 @@ ignore = E261
|
||||
max-line-length = 101
|
||||
|
||||
[tox]
|
||||
envlist = py26selects,py26poll,py26epolls,py27selects,py27poll,py27epolls
|
||||
envlist =
|
||||
py26selects,py26poll,py26epolls,
|
||||
py27selects,py27poll,py27epolls,
|
||||
py33selects,py33poll,py33epolls,
|
||||
|
||||
[testenv]
|
||||
downloadcache = {toxworkdir}/pip_download_cache
|
||||
deps =
|
||||
nose==1.3.0
|
||||
pyopenssl==0.13
|
||||
MySQL-python==1.2.5
|
||||
psycopg2==2.5.1
|
||||
psycopg2cffi-compat==1.1
|
||||
pyzmq==13.1.0
|
||||
commands =
|
||||
nosetests --verbose tests/
|
||||
@@ -30,23 +32,53 @@ commands =
|
||||
[testenv:py26selects]
|
||||
basepython = python2.6
|
||||
setenv = EVENTLET_HUB = selects
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py26poll]
|
||||
basepython = python2.6
|
||||
setenv = EVENTLET_HUB = poll
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py26epolls]
|
||||
basepython = python2.6
|
||||
setenv = EVENTLET_HUB = epolls
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py27selects]
|
||||
basepython = python2.7
|
||||
setenv = EVENTLET_HUB = selects
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py27poll]
|
||||
basepython = python2.7
|
||||
setenv = EVENTLET_HUB = poll
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py27epolls]
|
||||
basepython = python2.7
|
||||
setenv = EVENTLET_HUB = epolls
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
MySQL-python==1.2.5
|
||||
|
||||
[testenv:py33selects]
|
||||
basepython = python3.3
|
||||
setenv = EVENTLET_HUB = selects
|
||||
|
||||
[testenv:py33poll]
|
||||
basepython = python3.3
|
||||
setenv = EVENTLET_HUB = poll
|
||||
|
||||
[testenv:py33epolls]
|
||||
basepython = python3.3
|
||||
setenv = EVENTLET_HUB = epolls
|
||||
|
||||
Reference in New Issue
Block a user