Checkout Config
build:
environment:
php:
version: 7.2
project_setup:
before:
- composer self-update
- yarn encore production
dependencies:
before:
# Install the minimum in order to have dependency classes loaded for inspection.
- composer install --no-scripts
tests:
override:
-
# Make sure nothing's changed in Git, which would indicate asset changes were not committed.
command: git status | grep 'nothing to commit, working tree clean'
-
command: composer test
filter:
excluded_paths:
- 'var/*'
- 'tests/*'
- 'bin/*'
- 'vendor/*'
- 'config/*'
- 'public/build/*'
- 'src/Kernel.php'
- '*.min.js'
dependency_paths:
- 'vendor/*'
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
filter:
excluded_paths:
- 'bin/*'
- '*/build/*'
checks:
php: true
javascript: true
coding_style:
php: { }