Skip to content

Commit

Permalink
Fix for tox-docker 2.0
Browse files Browse the repository at this point in the history
tox-docker 2.0.0 changed its ini section format.
  • Loading branch information
jor-rit authored and auvipy committed Jan 28, 2021
1 parent d11b276 commit 5bcae4a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist =
flakeplus
apicheck
pydocstyle
requires = tox-docker
requires = tox-docker>=2.0

[testenv]
deps=
Expand All @@ -31,12 +31,13 @@ install_command = python -m pip --disable-pip-version-check install {opts} {pack
commands_pre =
integration-rabbitmq: ./wait_for_rabbitmq.sh
docker =
integration-rabbitmq: rabbitmq:tls
integration-rabbitmq: rabbitmq
dockerenv =
PYAMQP_INTEGRATION_INSTANCE=1
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit tcp_listeners [5672]

[docker:rabbitmq:tls]
[docker:rabbitmq]
image = rabbitmq
ports =
5672:5672/tcp
5671:5671/tcp
Expand Down

0 comments on commit 5bcae4a

Please sign in to comment.