-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scrutinizer.yml
47 lines (40 loc) · 874 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
47
checks:
php:
code_rating: true
filter:
excluded_paths:
- phpstan/*
- tests/*
- vendor/*
build:
image: default-bionic
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
custom-nodes:
services:
custom-mysql:
image: docker.io/library/mysql:5.7
env:
MYSQL_DATABASE: testing
MYSQL_USER: testing
MYSQL_PASSWORD: testing
MYSQL_ROOT_PASSWORD: testing
ports:
- 3306
environment:
php: '8.1.8'
docker: true
dependencies:
before:
- composer install
- mkdir -p build/logs
tests:
override:
-
command: 'XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml'
coverage:
file: 'build/logs/clover.xml'
format: 'clover'