1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-09-02 12:12:49 +02:00

improving useage of travis & scrutinizer

This commit is contained in:
Mikael Roos
2015-03-16 16:05:57 +01:00
parent ded8a43bc3
commit 9aeb8b7859
3 changed files with 35 additions and 10 deletions

View File

@@ -2,7 +2,34 @@ imports:
- php
filter:
excluded_paths: [test/*]
paths: [*.php, webroot/img.php]
tools:
external_code_coverage: true
# Copy/Paste Detector
php_cpd: true
# Metrics
php_pdepend: true
# Some Metrics + Bug Detection/Auto-Fixes
php_analyzer: true
php_code_sniffer:
config:
standard: "PSR2"
php_sim:
min_mass: 16 # Defaults to 16
php_mess_detector:
#config:
# ruleset: ../your-phpmd-ruleset/ruleset.xml
build:
tests:
override:
-
command: 'phpunit'
coverage:
file: 'coverage.clover'
format: 'php-clover'