Skip to content

Commit

Permalink
fix scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Oct 19, 2020
1 parent ee770ad commit d66e4b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
build:
nodes:
analysis:
tests:
override: [php-scrutinizer-run]

filter:
excluded_paths: [ 'vendor/*', 'tests/*', 'samples/*' ]

Expand All @@ -14,11 +20,11 @@ tools:
config:
ruleset: phpmd.xml.dist
external_code_coverage:
enabled: true
timeout: 900
enabled: false
timeout: 1200
php_cpd: true
# php_sim: # Temporarily disabled to allow focus on things other than duplicates
# min_mass: 40
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
sensiolabs_security_checker: true
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ after_script:
## PHPDocumentor
## - bash .travis_shell_after_success.sh
## Scrutinizer
- if [ -z "$COVERAGE" ]; then wget https://scrutinizer-ci.com/ocular.phar ; fi
- if [ -z "$COVERAGE" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml ; fi
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml

notifications:
webhooks:
Expand Down

0 comments on commit d66e4b3

Please sign in to comment.