Passed
Push — master ( 7bba01...58feff )
by Tibor
02:23
created

Checkout Config

filter:
  paths:
    - 'src/*'
  dependency_paths:
    - 'vendor/*'

build:
  environment:
    php:
      version: '7.2'

  dependencies:
    before:
      - composer self-update
      - sed -i 's/zend_extension_ts=xdebug.so/;zend_extension_ts=xdebug.so/' ~/.phpenv/versions/$(phpenv global)/etc/php.ini
      - composer global require "hirak/prestissimo:^0.3"

    override:
      - { command: 'composer install --no-interaction --no-suggest -vv', idle_timeout: 600 }

  cache:
    directories: [ ~/.composer/cache ]

  nodes:
    analysis:
      tests:
        override:
          - find src/ -type f \( -name '*.phtml' -o -name '*.php' \) | xargs -n 1 -P 8 -i php -l {} | grep -v 'No syntax errors detected' || echo 'OK'
          - php-scrutinizer-run
          - bin/behat --no-interaction --no-snippets --stop-on-failure --format=pretty

build_failure_conditions:
  - 'elements.rating(< A).new.exists'
  - 'issues.label("coding-style").new.exists'
  - 'issues.new.exists'
  - 'project.metric("scrutinizer.quality", < 10.00)'

Repository Config

# language: php