Skip to content

Commit 885d1a1

Browse files
committed
fix scrutinizer
1 parent ee770ad commit 885d1a1

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.scrutinizer.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
build:
2+
nodes:
3+
analysis:
4+
tests:
5+
override: [php-scrutinizer-run]
6+
17
filter:
28
excluded_paths: [ 'vendor/*', 'tests/*', 'samples/*' ]
39

@@ -14,11 +20,11 @@ tools:
1420
config:
1521
ruleset: phpmd.xml.dist
1622
external_code_coverage:
17-
enabled: true
18-
timeout: 900
23+
enabled: false
24+
timeout: 1200
1925
php_cpd: true
2026
# php_sim: # Temporarily disabled to allow focus on things other than duplicates
2127
# min_mass: 40
2228
php_pdepend: true
2329
php_analyzer: true
24-
sensiolabs_security_checker: true
30+
sensiolabs_security_checker: true

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ after_script:
7676
## PHPDocumentor
7777
## - bash .travis_shell_after_success.sh
7878
## Scrutinizer
79-
- wget https://scrutinizer-ci.com/ocular.phar
80-
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
79+
- if [ -z "$COVERAGE" ]; then wget https://scrutinizer-ci.com/ocular.phar ; fi
80+
- if [ -z "$COVERAGE" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml ; fi
8181

8282
notifications:
8383
webhooks:

0 commit comments

Comments
 (0)