1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-06 16:16:39 +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'

View File

@@ -1,18 +1,15 @@
language: php
php:
- 5.6
- 5.5
- 5.4
- 5.5
- 5.6
- 5.7
- 6.0
- hhvm
before_script:
- wget https://scrutinizer-ci.com/ocular.phar
- nightly
script:
- phpunit
after_script:
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
irc: "irc.freenode.org#dbwebb"

View File

@@ -5,6 +5,7 @@ Revision history
v0.7.0.x (latest)
-------------------------------------
* Improving usage of Travis and Scrutinizer.
* Naming cache-file using md5 for remote images, fix #86.
* Loading images without depending on filename extension, fix #85.
* Adding unittest with phpunit #84, fix #13