X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=blobdiff_plain;f=.scrutinizer.yml;h=194297f672c4e4aacdc98da01d916d3076a50152;hp=bbf1f199aa6822da506d6e3c1f3a6ee030aa8a38;hb=HEAD;hpb=4a230f9844de546f475d0d163dc8b204a2232dce diff --git a/.scrutinizer.yml b/.scrutinizer.yml index bbf1f199..194297f6 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -4,6 +4,7 @@ filter: excluded_paths: - 'vendor/*' - 'app/*' + - 'var/*' - 'web/*' - 'src/Wallabag/*Bundle/Tests/*' - '*Test.php' @@ -16,8 +17,27 @@ tools: php_code_sniffer: true php_pdepend: true sensiolabs_security_checker: true - external_code_coverage: - timeout: 3600 + #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