build:
nodes:
tests:
services:
# For available tags, see https://hub.docker.com/_/mysql/
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mysqlreplication_test
tests:
override:
- netstat -lntp
- mysql -h$SERVICE_MYSQL_IP -uroot -proot -e "show databases;"
- vendor/bin/phpunit
filter:
excluded_paths:
- 'tests/*'
checks:
php: { }
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false