Skip to content

Instantly share code, notes, and snippets.

@sdieunidou
Created February 13, 2017 11:42
Show Gist options
  • Save sdieunidou/1eb1bac47144d19f7eecdff9fd7cdad6 to your computer and use it in GitHub Desktop.
Save sdieunidou/1eb1bac47144d19f7eecdff9fd7cdad6 to your computer and use it in GitHub Desktop.
scrutinizer default configuration symfony3
filter:
excluded_paths:
- 'app/*'
- 'tests/*'
- 'bin/*'
- '*.min.js'
- 'web/assets/vendor/*'
- 'var/'
checks:
php: true
javascript: true
coding_style:
php: { }
build:
dependencies:
before:
- mysql -uroot -e 'CREATE DATABASE symfony'
# Runs before inferred commands
override:
- 'npm install'
- 'bower install'
- 'composer install --no-interaction'
tests:
override:
- 'vendor/phpunit/phpunit/phpunit'
environment:
timezone: Europe/Paris
postgresql: false
rabbitmq: false
mysql: 5.7
redis: false
php:
version: 7.0.8
ini:
'date.timezone': 'Europe/Paris'
deployment:
-
branch: develop
commands:
- curl -X POST URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment