Merge "Add qpid and amqp 1.0 tox targets"
This commit is contained in:
commit
590896caeb
18
tox.ini
18
tox.ini
|
@ -31,13 +31,21 @@ deps = -r{toxinidir}/requirements-py3.txt
|
||||||
deps = -r{toxinidir}/requirements-py3.txt
|
deps = -r{toxinidir}/requirements-py3.txt
|
||||||
-r{toxinidir}/test-requirements-py3.txt
|
-r{toxinidir}/test-requirements-py3.txt
|
||||||
|
|
||||||
[testenv:amqp1]
|
[testenv:py27-func-qpid]
|
||||||
# test AMQP 1.0 driver, requires QPID Proton developer packages
|
setenv = TRANSPORT_URL=qpid://guest:password@localhost//
|
||||||
|
commands = python setup.py testr --slowest --testr-args='tests.functional'
|
||||||
|
|
||||||
|
[testenv:py27-func-rabbit]
|
||||||
|
setenv = TRANSPORT_URL=rabbit://guest:password@localhost//
|
||||||
|
commands = python setup.py testr --slowest --testr-args='tests.functional'
|
||||||
|
|
||||||
|
[testenv:py27-func-amqp1]
|
||||||
|
setenv = TRANSPORT_URL=amqp://guest:password@localhost//
|
||||||
deps = -r{toxinidir}/amqp1-requirements.txt
|
deps = -r{toxinidir}/amqp1-requirements.txt
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
|
# NOTE(sileht): until ubuntu get proto packages, we run amqp_driver tests here
|
||||||
[testenv:py27-rabbit]
|
# because this is the only target to run fedora 20 in gate
|
||||||
setenv = TRANSPORT_URL=rabbit://guest:guest@localhost
|
commands = python setup.py testr --slowest --testr-args='tests.(functional|test_amqp_driver)'
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
|
|
Loading…
Reference in New Issue