run toxiproxy based connection test on travis-ci

parent bd3b72b2
......@@ -8,15 +8,16 @@ matrix:
- php: 7.2
- php: 7.3
- php: 7.4snapshot
- php: nightly
allow_failures:
- php: nightly
- php: 7.4snapshot
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
services:
- docker
addons:
apt:
packages:
......@@ -27,6 +28,15 @@ cache:
- $HOME/.composer
- vendor
before_install:
- docker pull shopify/toxiproxy
- docker run -d --rm --net=host -p 8474:8474 -p 5673:5673 shopify/toxiproxy
- docker ps -a
env:
global:
- TOXIPROXY_HOST=localhost TOXIPROXY_AMQP_PORT=5673
before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
......
......@@ -28,9 +28,8 @@
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment