-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scrutinizer.yml
46 lines (43 loc) · 985 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
35
36
37
38
39
40
41
42
43
44
45
46
filter:
paths: [ "src/*" ]
excluded_paths: [ "vendor/", "tests/", "resources/", "public/", "src/Application/ErrorHandler/", ]
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage: false
build:
services:
mysql: 8.0.29
environment:
php:
version: 8.2
ini:
xdebug.mode: coverage
mysql: 5.7
node: false
postgresql: false
mongodb: false
elasticsearch: false
redis: false
memcached: false
neo4j: false
rabbitmq: false
variables:
APP_ENV: 'scrutinizer'
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
dependencies:
before:
- composer self-update
- mysql -uroot -e "CREATE DATABASE IF NOT EXISTS slim_api_starter_test CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
tests:
before:
- command: composer test:coverage
coverage:
file: 'build/logs/clover.xml'
format: 'clover'