forked from liip/LiipFunctionalTestBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
50 lines (47 loc) · 1.11 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
checks:
php:
code_rating: true
duplication: true
filter:
excluded_paths:
- Tests/*
paths:
- Annotations/*
- Command/RunParatestCommand.php
- DependencyInjection/*
- DependencyInjection/Compiler/*
- EventListener/*
- Exception/*
- Factory/*
- Test/*
- Utils/*
- Validator/*
- LiipFunctionalTestBundle.php
- QueryCountClient.php
- QueryCounter.php
build:
environment:
php:
version: 5.6
dependencies:
override:
-
command: 'composer require --dev "symfony/symfony:2.8.*" --no-update'
-
command: 'composer update --no-interaction -vv --profile --no-progress'
idle_timeout: 900
# Run after dependencies
project_setup:
before:
- mysql -e 'CREATE DATABASE liip;'
override: []
after: []
tests:
override:
# in phpunit.xml.dist, tests annotated with "@group mysql" are
# excluded, revert this
-
command: 'php ./vendor/bin/phpunit --coverage-clover=coverage-clover --exclude-group ""'
coverage:
file: 'coverage-clover'
format: 'php-clover'