forked from joedixon/laravel-translation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrutinizer.yml
27 lines (25 loc) · 838 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
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- tests/*
build:
environment:
php:
version: '7.2'
nodes:
analysis:
tests:
before:
# This file is only used on certain Laravel versions and references a dependency which doesn't exist
# on others. Removing this prevents code coverage in phpunit from failing
- 'rm ./src/InterfaceDatabaseLoader.php'
override:
- php-scrutinizer-run
-
command: 'vendor/bin/phpunit --coverage-clover=coverage.clover'
coverage:
file: 'coverage.clover'
format: 'clover'