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
coverage:
services:
# For available tags, see https://hub.docker.com/_/mysql/
mysql: 5.7
tests:
before:
- mysql -u root mysql < tests/unit/db/messagerie.sql
override:
- command: ./vendor/bin/codecept build && ./vendor/bin/codecept run unit --coverage-xml
coverage:
file: tests/_output/coverage.xml
format: 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/
checks:
php:
code_rating: true
duplication: true
Repository Config
# language: php