Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
testing:
tests:
before:
- 'php bin/console doctrine:database:create --env=test --if-not-exists'
- 'php bin/console doctrine:schema:update --force --env=test --complete'
- 'php bin/console doctrine:fixtures:load --env=test --no-interaction'
- 'node_modules/.bin/encore production'
- 'export SYMFONY_DEPRECATIONS_HELPER=disabled'
override:
- command: php bin/phpunit
# environment:
# hosts:
# 'local.dev': '127.0.0.1'
# apache2:
# modules: ['rewrite']
# sites:
# snowtricks:
# web_root: 'public/'
# host: 'local.dev'
services:
mysql: 5.7
# tests: true
environment:
node: 8.11
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- 'vendor/*'
checks:
php: true
coding_style:
php: { }