Repository Config
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
build:
environment:
php:
version: '7.2'
tests:
before:
- command: 'cp .travis_app_local_mysql.txt config/app_local.php'
override:
-
command: 'vendor/bin/phpunit --coverage-clover=scrutinizer-clover.txt'
coverage:
file: 'scrutinizer-clover.txt'
format: 'clover'
project_setup:
before:
- mysql -e "CREATE DATABASE fc;"
- mysql -e "CREATE DATABASE test_fc;"
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run --enable-security-analysis