Checkout Config
# scrutinizer-ci.com configuration
imports:
- php
filter:
excluded_paths:
- build/
- tmp/
- vendor/
- ci/doctum-config.php
checks:
php: true
tools:
external_code_coverage:
runs: 8 # php 7.x versions * 2
timeout: 480 # 8 min
build:
nodes:
analysis:
environment:
php: 7.1
dependencies:
before:
- composer install
tests:
override:
- php-scrutinizer-run
- phpcs-run
Repository Config
coding_style:
php:
spaces:
around_operators:
concatenation: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
build:
tests:
override:
-
command: './vendor/bin/phpunit -c phpunit.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'