Repository Config
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
ports:
- 3306
command: mysqld --server-id=123 --log-bin=mysql-bin
tests:
override:
- netstat -lntp
- mysql -h127.0.0.1 -uroot -proot -e "show databases;"
- mysql -h127.0.0.1 -uroot -proot -e "show binary logs;"
- vendor/bin/phpunit
filter:
excluded_paths:
- 'tests/*'
checks:
php: { }
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false