adding monitoring configurations

This commit is contained in:
Benjamin Delespierre 2020-08-23 21:20:24 +02:00
parent 21b1b706e6
commit 56eb0b4c45
3 changed files with 43 additions and 0 deletions

19
.scrutinizer.yml Normal file
View File

@ -0,0 +1,19 @@
filter:
excluded_paths: [tests/*]
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true

4
.styleci.yml Normal file
View File

@ -0,0 +1,4 @@
preset: php
disabled:
- single_class_element_per_statement

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: php
php:
- 7.3
- 7.4
env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover