Translated using Weblate (German)
[phpmyadmin.git] / .scrutinizer.yml
blob5f2b290680881eb24baebd46ac19ba0437fb93a6
1 # scrutinizer-ci.com configuration
2 imports:
3     - javascript
4     - php
5 filter:
6     excluded_paths: [js/vendor/*]
7 checks:
8     javascript: true
9     php: true
10 build:
11     nodes:
12         test:
13             environment:
14                 php: 7.1
15             dependencies:
16                 before:
17                     - composer install
18                     - composer require tecnickcom/tcpdf pragmarx/google2fa-qrcode samyoul/u2f-php-server
19                     - ./vendor/bin/phpcs --config-set installed_paths `pwd`/vendor/phpmyadmin/coding-standard
20             tests:
21                 override:
22                     - php-scrutinizer-run
23                     -
24                         command: './vendor/bin/phpcs  --standard=PMAStandard ./ --report=checkstyle --report-file=cs-data --ignore=*/vendor/*,*/build/*'
25                         analysis:
26                             file: 'cs-data'                 # The reporter filename
27                             format: 'php-cs-checkstyle'     # The supported format by Scrutinizer