Browse Source

Update configs to ensure failure reporting.

ADmad 7 years ago
parent
commit
d51b0abfb5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .scrutinizer.yml
  2. 1 1
      .travis.yml

+ 1 - 1
.scrutinizer.yml

@@ -32,5 +32,5 @@ build:
           - vendor/bin/psalm --show-info=false
 
 build_failure_conditions:
-  - 'issues.label("coding-style").exists'
+  - 'issues.count > 0'
   - 'project.metric_change("scrutinizer.test_coverage", < -0.01)'

+ 1 - 1
.travis.yml

@@ -72,7 +72,7 @@ script:
   - if [[ $CODECOVERAGE == 1 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml; fi
   - if [[ $CODECOVERAGE != 1 ]]; then vendor/bin/phpunit; fi
 
-after_success:
+after_script:
   - |
       if [[ $CODECOVERAGE == 1 ]]; then
         wget https://scrutinizer-ci.com/ocular.phar