Checkout Config
build:
environment:
timezone: 'Europe/Zurich'
php:
version: '7.2'
ini:
'date.timezone': 'Europe/Zurich'
tests:
before:
-
command: echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage/clover.xml'
coverage:
file: 'coverage/clover.xml'
format: 'php-clover'
checks:
php: true
coding_style:
php: {}
filter:
excluded_paths:
- 'tests/*'
Repository Config
# language: php
# tests: true