Checkout Config
checks:
javascript: true
php: true
filter:
excluded_paths:
- tests/*
- vendor/*
- build/*
- resources/compiled/*
build:
environment:
php:
version: 7.2
dependencies:
override:
# - chmod -R 744 vendor
# - chmod -R 744 ~/.bundle
# - chmod -R 744 ~/.gem
- find ~/.bundle/cache -type d -exec chmod 0755 {}
# - chmod -R 744 ~/.rbenv
- npm i -g [email protected] # this should be deleted once 5.7 is out of pre-release
- composer global require phpstan/phpstan
- composer install
tests:
override:
-
command: php ./vendor/bin/phpunit -d error_reporting=-1 tests
coverage:
file: /tmp/coverage/kint.clover.xml
format: clover
Repository Config
# language:
checks:
php: true
javascript: true
build:
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run
-
command: scss-lint-run
use_website_config: true