-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.scrutinizer.yml
45 lines (41 loc) · 1.12 KB
/
.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
# CryptoManana Framework Scrutinizer CI YAML Configuration
build:
nodes:
analysis:
image: default-bionic
environment:
php:
version: 8.2
ini:
'xdebug.mode': 'coverage'
'opcache.enable': '1'
'opcache.enable_cli': '1'
'default_charset': 'UTF-8'
pecl_extensions:
- apcu
cache:
directories:
- vendor/
requires:
- branch: /master|staging/
tests:
override:
- php-scrutinizer-run
- phpcs-run
- command: php check.php
- command: composer validate
- command: vendor/bin/phpunit --migrate-configuration
- command: vendor/bin/phpunit --testdox --coverage-text
coverage:
file: coverage/clover.xml
format: php-clover
filter:
paths: [src/CryptoManana/*]
excluded_paths: [tests/*, vendor/*, src/autoload.php]
dependency_paths: [src/CryptoManana/Compatibility/*, src/compatibility.php]
checks:
php: true
tools:
external_code_coverage:
timeout: 3600
runs: 2 # 5.6 and 7.4