-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.scrutinizer.yml
63 lines (55 loc) · 1.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
filter:
excluded_paths:
- "*/Tests/*"
- "Tests/*"
build:
environment:
memcached: false
postgresql: false
redis: false
mysql: false
neo4j: false
rabbitmq: false
elasticsearch: false
nodes:
analysis:
tests:
override:
- phpcs-run -p --encoding=utf-8 --standard=phpcs.xml --ignore=Tests,vendor -w --colors
- php-scrutinizer-run --enable-security-analysis
php74:
environment:
php:
version: 7.4.16
pecl_extensions:
- memcached
ini:
short_open_tag: On
project_setup:
after:
- wget -q -O phpunit.phar https://phar.phpunit.de/phpunit-9.phar
- chmod 755 phpunit.phar
dependencies:
# Runs before inferred commands
before: []
# Overwrites inferred commands
override:
- true
# Runs after inferred commands
after: []
# Run after dependencies
project_setup:
override:
- git clone https://github.com/nafigator/Veles.git
- cd Veles
- git checkout $SCRUTINIZER_BRANCH
- git clone https://github.com/nafigator/Veles-unit-tests.git Tests
tests:
override:
-
command: ./phpunit.phar -c Tests/scrutinizer-phpunit.xml --coverage-clover=/home/scrutinizer/build/coverage-report.xml
coverage:
file: coverage-report.xml
format: php-clover
checks:
php: true