This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.scrutinizer.yml
57 lines (49 loc) · 1.5 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
checks:
php: true
tools:
external_code_coverage: false
php_code_coverage: false
php_code_sniffer:
config: { standard: 'Zend' }
php_changetracking: false
php_sim: false
php_cs_fixer: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
filter:
paths:
- 'src/*'
excluded_paths:
- 'features/bootstrap/*'
- 'dev/*'
- 'var/*'
- 'lib/*'
- 'bin/*'
- 'vendor/*'
build:
environment:
php:
version: 5.5
ini:
'always_populate_raw_post_data': '-1'
tests:
override:
- bin/phpspec run --no-interaction --format=pretty
- bin/behat --no-interaction --no-snippets --stop-on-failure --format=pretty
dependencies:
before:
- date -u +"%Y-%m-%dT%H:%M:%SZ" > /tmp/build-start-time.txt
- sudo apt-get -y install libmagickwand-dev libmagickcore-dev
- printf "\n" | pecl install imagick
- sed -i 's/extension="imagick.so"//g' `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
override:
- { command: 'composer install --no-interaction', idle_timeout: 600 }
cache:
directories: [ bin/, ~/.composer/cache ]
build_failure_conditions:
- 'elements.rating(<= B).new.exists'
- 'issues.label("coding-style").new.exists'
- 'issues.new.exists'
- 'project.metric("scrutinizer.quality", < 9.00)'