Make py27 run tests on all backends by default
This is the same thing we do with Gnocchi, so we are sure all the patches that we merge passed on all backends we support. Change-Id: Ib24a6ea0d63d31985e0cd47335564263dcecbda2
This commit is contained in:
parent
cf53ba65ed
commit
3ac87a4d44
10
tox.ini
10
tox.ini
@ -1,7 +1,7 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = py27,py34,py-mysql,py-pgsql,pep8
|
||||
envlist = py27,py34,pep8
|
||||
|
||||
[testenv]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
@ -12,21 +12,23 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
EVENTLET_NO_GREENDNS=yes
|
||||
commands =
|
||||
bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
bash -x {toxinidir}/setup-test-env-mysql.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
bash -x {toxinidir}/setup-test-env-postgresql.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
whitelist_externals = bash
|
||||
|
||||
# TODO(ityaptin): With separation tests to unit and functional folders we need
|
||||
# set environment variable OS_TEST_PATH=./aodh/tests/functional
|
||||
# in "py-<backend>" jobs
|
||||
|
||||
[testenv:py-mongodb]
|
||||
[testenv:py27-mongodb]
|
||||
commands =
|
||||
bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
|
||||
[testenv:py-mysql]
|
||||
[testenv:py27-mysql]
|
||||
commands =
|
||||
bash -x {toxinidir}/setup-test-env-mysql.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
|
||||
[testenv:py-pgsql]
|
||||
[testenv:py27-pgsql]
|
||||
commands =
|
||||
bash -x {toxinidir}/setup-test-env-postgresql.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user