Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
build:
environment:
mysql: 5.7
php: 7.1.1
project_setup:
before:
- composer install
- mysql -u root -e "CREATE USER 'event_sourcing'@'localhost' IDENTIFIED BY 'event_sourcing123'"
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'event_sourcing'@'localhost'"
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=/tmp/coverage.xml'
coverage:
file: '/tmp/coverage.xml'
format: 'clover'