forked from Rebolon/php-sf-flex-webpack-encore-vuejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
56 lines (55 loc) · 1.63 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
build:
environment:
redis: false
postgresql: false
php:
version: '7.1'
node:
version: '8.10.0'
nodes:
# angular:
# project_setup:
# after:
# - cd ../../../
# - npm run init-project
# - cd assets/js/devxpress-angular
# # Assumes that the API project is in a sub-path 'frontend' in your repository root
# root_path: './assets/js/devxpress-angular'
# tests:
# override:
# - npm run test
# - npm run e2e
karma:
project_setup:
after:
- npm run init-project
- npm run jwt-generation-test
root_path: './'
tests:
override:
- npm run test-karma
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
# build asset required by php
- npm run build-for-test
-
command: 'vendor/bin/phpunit --coverage-clover=var/report/clover.xml'
coverage:
file: 'var/report/clover.xml'
format: 'clover'
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
- 'var/*'
- 'public/*'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true