]>
Commit | Line | Data |
---|---|---|
1 | filter: | |
2 | paths: | |
3 | - src/* | |
4 | excluded_paths: | |
5 | - 'vendor/*' | |
6 | - 'app/*' | |
7 | - 'var/*' | |
8 | - 'web/*' | |
9 | - 'src/Wallabag/*Bundle/Tests/*' | |
10 | - '*Test.php' | |
11 | ||
12 | tools: | |
13 | php_cs_fixer: true | |
14 | php_analyzer: true | |
15 | php_mess_detector: true | |
16 | php_changetracking: true | |
17 | php_code_sniffer: true | |
18 | php_pdepend: true | |
19 | sensiolabs_security_checker: true | |
20 | #external_code_coverage: | |
21 | # timeout: 3600 | |
22 | php_code_coverage: true | |
23 | php_sim: false | |
24 | php_cpd: false | |
25 | ||
26 | checks: | |
27 | php: | |
28 | code_rating: true | |
29 | ||
30 | # use the new PHP analysis engine | |
31 | # https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis | |
32 | build: | |
33 | nodes: | |
34 | analysis: | |
35 | tests: | |
36 | override: | |
37 | - php-scrutinizer-run | |
38 | ||
39 | dependencies: | |
40 | override: | |
41 | - npm install -g 'yarn' | |
42 | - yarn install --force | |
43 | - COMPOSER_MEMORY_LIMIT=-1 composer install -o --no-interaction --no-progress --prefer-dist |