-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
30 lines (30 loc) · 1.1 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
build:
environment:
php:
version: 7.4
pecl_extensions:
- pcov
postgresql: false
redis: false
rabbitmq: false
nodes:
tests:
cache:
directories:
- vendor/
dependencies:
override:
- wget https://www.phing.info/get/phing-latest.phar && mv phing-latest.phar phing && chmod +x phing
- composer update --prefer-dist --no-progress --no-interaction
tests:
override:
-
command: ./vendor/bin/phpcs . --extensions=php --report=checkstyle --report-file=codesniffer.xml --standard=vendor/nexendrie/code-quality/ruleset.xml
analysis:
file: codesniffer.xml
format: 'general-checkstyle'
-
command: ./phing ci-coverage
coverage:
file: coverage.xml
format: php-clover