add coverage

This commit is contained in:
Robin Appelman 2014-07-22 01:15:11 +02:00
commit 2e8af98252
2 changed files with 10 additions and 3 deletions

View file

@ -32,9 +32,13 @@ before_install:
- testparm -s
install:
- composer install
- composer install --dev --no-interaction
script:
# Run phpunit tests
- mkdir -p build/logs
- cd tests
- phpunit --configuration phpunit.xml
- phpunit --coverage-clover ../build/logs/clover.xml --configuration phpunit.xml
after_script:
- cd $CURRENT_DIR
- php vendor/bin/coveralls -v

View file

@ -12,6 +12,9 @@
"require" : {
"php": ">=5.3"
},
"require-dev": {
"satooshi/php-coveralls" : "dev-master"
},
"autoload" : {
"psr-4": {
"Icewind\\SMB\\": "src/"