Skip to content

Instantly share code, notes, and snippets.

@FabianSchmick
Last active January 18, 2019 13:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FabianSchmick/bf66ced0d34fb91cf82a0f83e15a6f8d to your computer and use it in GitHub Desktop.
Save FabianSchmick/bf66ced0d34fb91cf82a0f83e15a6f8d to your computer and use it in GitHub Desktop.
Scrutinizer Symfony 3 configuration
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- ./vendor/bin/simple-phpunit
- sensiolabs-security-checker-run
- php-loc-run
- php-pdepend-run
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
dependencies:
before:
- mysql -uroot -e 'CREATE DATABASE application'
override:
- composer install --no-interaction
- php bin/console doctrine:migrations:migrate --no-interaction
- php bin/console doctrine:fixtures:load --no-interaction
- npm install
- ./node_modules/.bin/gulp deploy
environment:
timezone: Europe/Berlin
php:
version: "7.2"
postgresql: false
rabbitmq: false
mysql: 5.7
redis: false
filter:
excluded_paths:
- 'app/*'
- 'tests/*'
- 'bin/*'
- 'github/*'
- 'var/*'
- 'web/assets/dist/*'
checks:
php: true
javascript: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment