aboutsummaryrefslogtreecommitdiffhomepage
path: root/.scrutinizer.yml
blob: 194297f672c4e4aacdc98da01d916d3076a50152 (plain) (blame)
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
filter:
    paths:
        - src/*
    excluded_paths:
        - 'vendor/*'
        - 'app/*'
        - 'var/*'
        - 'web/*'
        - 'src/Wallabag/*Bundle/Tests/*'
        - '*Test.php'

tools:
    php_cs_fixer: true
    php_analyzer: true
    php_mess_detector: true
    php_changetracking: true
    php_code_sniffer: true
    php_pdepend: true
    sensiolabs_security_checker: true
    #external_code_coverage:
    #    timeout: 3600
    php_code_coverage: true
    php_sim: false
    php_cpd: false

checks:
    php:
        code_rating: true

# use the new PHP analysis engine
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
build:
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run

    dependencies:
        override:
            - npm install -g 'yarn'
            - yarn install --force
            - COMPOSER_MEMORY_LIMIT=-1 composer install -o --no-interaction --no-progress --prefer-dist