Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve scrutinizer config #3

Closed
hgraca opened this issue Feb 6, 2018 · 0 comments
Closed

improve scrutinizer config #3

hgraca opened this issue Feb 6, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hgraca
Copy link
Contributor

hgraca commented Feb 6, 2018

add the following to the scrutinizer config

build:
    dependencies:
        before:
            - composer install -d instapro --no-scripts

    nodes:
        analysis:
            project_setup:
                override: true
            tests:
                override:
                    - php-scrutinizer-run --enable-security-analysis

filter:
  paths:
    - "src/"
  dependency_paths:
    - "vendor/"

build_failure_conditions:
    - 'issues.new.exists'
    - 'project.metric_change("scrutinizer.test_coverage", < -0.05)'
@LauLaman LauLaman added the enhancement New feature or request label Feb 6, 2018
@LauLaman LauLaman self-assigned this Feb 6, 2018
LauLaman added a commit that referenced this issue Feb 6, 2018
LauLaman added a commit that referenced this issue Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants