-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
46 lines (43 loc) · 894 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
build:
image: default-bionic
environment:
php: 7.4
variables:
XDEBUG_MODE: coverage
dependencies:
override:
- composer install --no-interaction --no-scripts
after:
- cp -n .env.example .env
- php bin/build-paths
tests:
override:
- command: vendor/bin/phpunit
coverage:
file: build/phpunit/coverage/coverage.clover.xml
format: clover
nodes:
php-analysis:
tests:
override:
- vendor/bin/phpcs
- vendor/bin/phpstan analyze
- php-scrutinizer-run --enable-security-analysis
php-7.4:
environment:
php: 7.4
php-8.0:
environment:
php: 8.0
php-8.1:
environment:
php: 8.1
checks:
php: true
filter:
excluded_paths:
- tests/
- assets/tests/
dependency_paths:
- vendor/
- assets/node_modules/