generated from yiisoft/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.scrutinizer.yml
41 lines (35 loc) · 885 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
checks:
php: true
filter:
paths:
- src/
build:
image: default-bionic
environment:
php:
version: 8.1.20
ini:
xdebug.mode: coverage
idle_timeout: 600
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
phpunit:
dependencies:
override:
- pecl channel-update pecl.php.net
- pecl install grpc-1.56.0
- composer self-update
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
- vendor/bin/rr get-binary
- sudo cp ./rr /usr/local/bin/rr
- rr -s -w=$(pwd) serve &
tests:
override:
- command: ./vendor/bin/phpunit --coverage-clover ./coverage.xml
on_node: 1
coverage:
file: coverage.xml
format: php-clover