mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
use coveralls over scrutinizer
This commit is contained in:
committed by
Jaap van Otterdijk
parent
7524aba21f
commit
03f8b85625
@@ -0,0 +1,3 @@
|
|||||||
|
service_name: travis-ci
|
||||||
|
coverage_clover: coverage.xml
|
||||||
|
json_path: coverage.json
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
before_commands:
|
|
||||||
- "composer install --no-dev --prefer-source"
|
|
||||||
|
|
||||||
tools:
|
|
||||||
external_code_coverage: true
|
|
||||||
php_code_sniffer:
|
|
||||||
enabled: true
|
|
||||||
config:
|
|
||||||
standard: PSR2
|
|
||||||
filter:
|
|
||||||
paths: ["src/*", "tests/*"]
|
|
||||||
php_cpd:
|
|
||||||
enabled: true
|
|
||||||
excluded_dirs: ["tests", "vendor"]
|
|
||||||
php_loc:
|
|
||||||
enabled: true
|
|
||||||
excluded_dirs: ["tests", "vendor"]
|
|
||||||
php_mess_detector:
|
|
||||||
enabled: true
|
|
||||||
config:
|
|
||||||
ruleset: phpmd.xml.dist
|
|
||||||
design_rules: { eval_expression: false }
|
|
||||||
filter:
|
|
||||||
paths: ["src/*"]
|
|
||||||
php_pdepend:
|
|
||||||
enabled: true
|
|
||||||
excluded_dirs: ["tests", "vendor"]
|
|
||||||
php_analyzer:
|
|
||||||
enabled: true
|
|
||||||
filter:
|
|
||||||
paths: ["src/*", "tests/*"]
|
|
||||||
sensiolabs_security_checker: true
|
|
||||||
+3
-3
@@ -20,13 +20,13 @@ install:
|
|||||||
- if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
|
- if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --coverage-clover=coverage.clover -v
|
- vendor/bin/phpunit --coverage-clover=coverage.xml -v
|
||||||
# coding style
|
# coding style
|
||||||
- if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
|
- if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- wget https://scrutinizer-ci.com/ocular.phar
|
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar;
|
||||||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
- php coveralls.phar --verbose;
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#phpdocumentor"
|
irc: "irc.freenode.org#phpdocumentor"
|
||||||
|
|||||||
Reference in New Issue
Block a user