Merge "Make py27 run tests on all backends by default"
This commit is contained in:
commit
0fc0665451
10
tox.ini
10
tox.ini
@ -1,7 +1,7 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = py27,py34,py-mysql,py-pgsql,pep8
|
envlist = py27,py34,pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
@ -12,21 +12,23 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
EVENTLET_NO_GREENDNS=yes
|
EVENTLET_NO_GREENDNS=yes
|
||||||
commands =
|
commands =
|
||||||
bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args="{posargs}"
|
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
|
whitelist_externals = bash
|
||||||
|
|
||||||
# TODO(ityaptin): With separation tests to unit and functional folders we need
|
# TODO(ityaptin): With separation tests to unit and functional folders we need
|
||||||
# set environment variable OS_TEST_PATH=./aodh/tests/functional
|
# set environment variable OS_TEST_PATH=./aodh/tests/functional
|
||||||
# in "py-<backend>" jobs
|
# in "py-<backend>" jobs
|
||||||
|
|
||||||
[testenv:py-mongodb]
|
[testenv:py27-mongodb]
|
||||||
commands =
|
commands =
|
||||||
bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args="{posargs}"
|
bash -x {toxinidir}/setup-test-env-mongodb.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py-mysql]
|
[testenv:py27-mysql]
|
||||||
commands =
|
commands =
|
||||||
bash -x {toxinidir}/setup-test-env-mysql.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}"
|
||||||
|
|
||||||
[testenv:py-pgsql]
|
[testenv:py27-pgsql]
|
||||||
commands =
|
commands =
|
||||||
bash -x {toxinidir}/setup-test-env-postgresql.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}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user