Checkout Config
build:
nodes:
analysis:
dependencies:
before:
- composer require twig/twig mindplay/annotations phpfastcache/phpfastcache monolog/monolog czproject/git-php phpmv/php-mv-ui
- composer require codeception/codeception --dev
tests:
override:
- php-scrutinizer-run
- command: ./vendor/bin/codecept build && ./vendor/bin/codecept run unit --coverage-phpunit
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
filter:
excluded_paths:
- Ubiquity/log/
- Ubiquity/controllers/Autoloader.php
- Ubiquity/controllers/admin/
- Ubiquity/annotations/
- Ubiquity/js/Jquery.php
- Ubiquity/utils/git/UGitRepository.php
- docs/
- api/
- documentation/
- tests/_support/
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage: true
Repository Config
# language: php