Add tox environment for pypy
Because some of our dependencies (notably psycopg2) are not supported by pypy we have to add special tox evnironment explicitly. Partial-bug: 1293585 Change-Id: I6e3fd38e05dc5a388894687b51234934cae6a6b7
This commit is contained in:
parent
4aa9a4c0df
commit
b58aae0e9f
12
tox-tmpl.ini
12
tox-tmpl.ini
@ -45,11 +45,9 @@ exclude = .venv,.tox,dist,doc,./taskflow/openstack/common,*egg,.git,build,tools
|
||||
# NOTE(imelnikov): pyXY envs are considered to be default, so they must have
|
||||
# richest set of test requirements
|
||||
[testenv:py26]
|
||||
basepython = python2.6
|
||||
deps = {[testenv:py26-sa7-mysql-ev]deps}
|
||||
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/optional-requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
@ -58,10 +56,18 @@ commands =
|
||||
sphinx-build -b doctest doc/source doc/build
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
|
||||
# NOTE(imelnikov): psycopg2 is not supported on pypy
|
||||
[testenv:pypy]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
alembic>=0.4.1
|
||||
kazoo>=1.3.1
|
||||
kombu>=2.4.8
|
||||
|
||||
[axes]
|
||||
python = py26,py27
|
||||
sqlalchemy = sa7,sa8,sa9
|
||||
|
14
tox.ini
14
tox.ini
@ -32,7 +32,8 @@ envlist = cover,
|
||||
py27-sa9-pymysql,
|
||||
py27-sa9-pymysql-ev,
|
||||
py33,
|
||||
pylint
|
||||
pylint,
|
||||
pypy
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
@ -71,11 +72,9 @@ builtins = _
|
||||
exclude = .venv,.tox,dist,doc,./taskflow/openstack/common,*egg,.git,build,tools
|
||||
|
||||
[testenv:py26]
|
||||
basepython = python2.6
|
||||
deps = {[testenv:py26-sa7-mysql-ev]deps}
|
||||
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/optional-requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
@ -84,10 +83,17 @@ commands =
|
||||
sphinx-build -b doctest doc/source doc/build
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
|
||||
[testenv:pypy]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
SQLAlchemy>=0.7.8,<=0.8.99
|
||||
alembic>=0.4.1
|
||||
kazoo>=1.3.1
|
||||
kombu>=2.4.8
|
||||
|
||||
[testenv:py26-sa7-mysql-ev]
|
||||
deps = {[testenv]deps}
|
||||
SQLAlchemy<=0.7.99
|
||||
|
Loading…
Reference in New Issue
Block a user