Commit ddea3a8b authored by Roman Podolyaka's avatar Roman Podolyaka

Run tests with different SQLAlchemy versions

The test suite should be run for all possible combinations
of Python and SQLAlchemy versions we claim to support, which
are Python 2.6 and 2.7 and SQLAlchemy 0.7.x (old stable) and
0.8.x (mainline stable).

py26/py27 tox envs install the latest stable version of SQLAlchemy
(currently, 0.8.x branch), so two additional tox environments added
to run the test suite with SQLAlchemy 0.7.x (for both Python 2.6 and 2.7).

Change-Id: I50c7009d8b808ce3bbb1f0a27c50f5cb5116cdb3
parent 427149ee
[tox]
envlist = py26,py27,py33,pep8
envlist = py26,py27,py26sa07,py27sa07,py33,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
......@@ -8,6 +8,16 @@ deps = -r{toxinidir}/requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py26sa07]
basepython = python2.6
deps = sqlalchemy>=0.7,<=0.7.99
-r{toxinidir}/test-requirements.txt
[testenv:py27sa07]
basepython = python2.7
deps = sqlalchemy>=0.7,<=0.7.99
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment