-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
54 lines (51 loc) · 1.44 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
tools:
eslint:
use_native_config: true
checks:
php:
code_rating: true
excluded_dependencies:
- drupal/core
build:
environment:
php: '5.6'
node: 'v4.2.2'
# Disable default dependencies - we where getting postgresql and redis.
postgresql: false
redis: false
dependencies:
after:
- 'cd web/themes/forlev2016/ && npm install && cd -'
tests:
override:
-
command: 'composer phpunit-custom-clover'
coverage:
file: 'tests/reports/clover.xml'
format: 'php-clover'
-
command: 'web/themes/forlev2016/node_modules/.bin/eslint --config web/themes/forlev2016/.eslintrc --ignore-path web/themes/forlev2016/.eslintignore --format checkstyle --output-file eslint-data web/modules/custom web/themes/forlev2016/'
analysis:
file: 'eslint-data'
format: 'eslint-checkstyle' # The supported format by Scrutinizer
-
command: 'composer phpcs-checkstyle'
analysis:
file: 'tests/reports/phpcs-checkstyle.xml'
format: 'php-cs-checkstyle'
build_failure_conditions:
# No new issues allowed.
- 'issues.new.exists'
filter:
paths:
- 'web/modules/custom/*'
- 'web/profiles/custom/*'
- 'web/themes/custom/*'
dependency_paths:
- web/core
- web/modules/contrib
- vendor
excluded_paths:
- web/core/*
- web/modules/contrib
- vendor