Passed
Push — release/1.1.0 ( 7e16fe...674782 )
by Yo
01:44 queued 18s
created

Checkout Config

checks:
    javascript: 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
    - 'elements.rating(<= D).new.exists'           # No new classes/methods with a rating of D or worse allowed
    - 'issues.label("coding-style").exists'        # No coding style issues allowed
    - 'issues.label("coding-style").new.exists'    # No new coding style issues allowed
    - 'issues.severity(>= MAJOR).new.exists'       # New issues of major or higher severity
    - '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", < 0.98)' # Code Coverage drops below 98%
    # Code Coverage decreased from previous inspection by more than 2%
    - 'project.metric_change("scrutinizer.test_coverage", < -0.02)'
    - 'patches.label("Doc Comments").exists'       # No doc comments patches allowed
    - 'patches.label("Spacing").exists'            # No spacing patches allowed
filter:
    excluded_paths:
        - test/*
build:
    environment:
             node: '4.2.2'
    tests:
        override:
            - npm test
            - eslint-run -c .eslintrc.json .
            -
                command: 'npm run coverage-clover'
                coverage:
                    file: 'coverage/clover.xml'
                    format: 'clover'