Global Config
build:
environment:
php: 7.0.6
timezone: 'Europe/Moscow'
variables:
PHPUNIT_VERSION: '^5.4'
cache:
directories:
- '${HOME}/.composer/cache'
- 'vendor/'
dependencies:
before:
- 'composer update --no-interaction --prefer-source'
- 'composer require phpunit/phpunit:${PHPUNIT_VERSION}'
filter:
paths:
- 'src/*'
excluded_paths:
- 'vendor/*'
- 'tests/*'
tools:
php_analyzer:
enabled: true
php_code_sniffer:
enabled: true
config:
standard: 'PSR2'
php_mess_detector:
enabled: true
php_pdepend:
enabled: true
php_cpd:
enabled: true
php_loc:
enabled: true
sensiolabs_security_checker: true