-
-
Notifications
You must be signed in to change notification settings - Fork 82
/
.scrutinizer.yml
36 lines (32 loc) · 853 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
build:
image: default-bionic
environment:
php:
version: 8.1.18
ini:
"xdebug.mode": coverage
dependencies:
before:
- >
export COMPOSER_ROOT_VERSION=$(grep '"dev-master": ' composer.json | grep -P -o '[0-9]+.[0-9]+').x-dev
override:
- composer validate
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
phpunit:
tests:
override:
- command: "./vendor/bin/phpunit --exclude-group scrutinizer-ignore --coverage-clover ./coverage.xml"
on_node: 1
coverage:
file: coverage.xml
format: php-clover
filter:
excluded_paths:
- 'tests/*'
- 'src/*/tests'
- 'src/Bridge/*/tests'