Checkout Config
build:
tests:
override:
- bin/phpunit -c src
environment:
rabbitmq: false
mysql: 5.6
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
php:
version: 5.4
services:
mysql: 5.6
dependencies:
override:
- true
project_setup:
before:
- mysql -e "CREATE DATABASE IF NOT EXISTS fwdays_com_test"
before_commands:
- 'composer install --prefer-source'
checks:
php:
code_rating: true
duplication: true
filter:
paths:
- src/*
excluded_paths:
- vendor/*
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: { }