forked from burzum/cakephp-file-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
34 lines (34 loc) · 1023 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
checks:
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
tools:
php_code_coverage: false
php_loc:
enabled: true
excluded_dirs: [vendor, tests, config, docs]
php_cpd:
enabled: true
excluded_dirs: [vendor, tests, config, docs]
filter:
excluded_paths: [src/Event/, src/Lib/, tests, vendor, docs]
build:
environment:
php:
version: 7.1.6
project_setup:
before:
- mysql -e "CREATE DATABASE test"
- sudo composer self-update
- composer --version
- composer global require hirak/prestissimo --no-plugins
- composer install --prefer-dist --no-interaction
tests:
override:
-
command: './vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'