Checkout Config
filter:
excluded_paths:
- tests/*
checks:
php: true
coding_style:
php:
indentation:
general:
size: 1
build:
# Run after dependencies
project_setup:
before:
- mysql -u root -e 'CREATE DATABASE test;'
- mysql -u root -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
- mysql -u root -e "GRANT ALL ON test.* TO 'test'@'localhost';"
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php: { }