Failed Conditions
Push — feature/init ( 8a5965...9d6bc6 )
by Yo
02:58
created

Checkout Config

checks:
    php:
        code_rating: true
        duplication: true
build_failure_conditions:
    - 'project.metric_change("scrutinizer.quality", < -0.10)'
    - 'elements.rating(<= D).exists'               # No classes/methods with a rating of D or worse
    - 'issues.label("coding-style").exists'        # No coding style issues allowed
    - 'issues.severity(>= MAJOR).exists'           # New major or higher severity issues
    - 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9
    - 'project.metric("scrutinizer.test_coverage", < 1)' # Code Coverage must alway be 100%
    - 'patches.label("Doc Comments").exists'       # No doc comments patches allowed
    - 'patches.label("Spacing").exists'            # No spacing patches allowed
build:
    dependencies:
        override:
            - make ci-build
    tests:
        stop_on_failure: true
        override:
            - php-scrutinizer-run
            - phpcs-run
            -
                command: make test-coverage-clover
                idle_timeout: 1200
                coverage:
                    file: 'build/coverage/clover.xml'
                    format: 'php-clover'
    cache:
        directories:
            - ~/.composer
            - vendor

    environment:
        php:
            version: "7.1"
        timezone: UTC

checks:
    php: false
filter:
    paths:
        - src/*