From ddea3a8bc8c5cf4b927c4cf97bfc82e4ffd0826a Mon Sep 17 00:00:00 2001 From: Roman Podolyaka Date: Wed, 24 Jul 2013 12:20:12 +0300 Subject: 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 --- tox.ini | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index eca9a3f..eb0fb79 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [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 -- cgit v1.2.1