Checkout Config
build:
nodes:
analysis: true
tests:
services:
mysql: 5.5
dependencies:
override:
- composer install --no-interaction --no-scripts
- php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php
- php app/console do:da:cr
- php app/console do:mi:mi --no-interaction
- php app/console do:fi:lo --no-interaction
- wget https://files-cdn.liferay.com/mirrors/geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.xz -O geodata/GeoLiteCity.dat.xz
- unxz geodata/GeoLiteCity.dat.xz
tests:
stop_on_failure: false
override:
- bin/phpunit -c app
environment:
rabbitmq: false
mysql: 5.5
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
php:
version: 5.4
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- 'app/*'
- 'bin/*'
- '*.min.js'
- 'web/assets/*'
coding_style:
php: { }
tools:
php_code_sniffer:
config:
standard: "PSR2"
php_cs_fixer: true
sensiolabs_security_checker: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
tests: true
filter:
paths:
- 'src/*'
excluded_paths:
- '*.min.js'
- '*/vendor/*'
checks:
php: true
javascript: true
coding_style:
php: { }