Adding support for coveralls

This commit is contained in:
Prasanna Annamalai
2013-07-25 14:13:58 +05:30
parent e0046e3bbe
commit acd4872654
3 changed files with 12 additions and 2 deletions

4
.coveralls.yml Normal file
View File

@@ -0,0 +1,4 @@
# .coveralls.yml configuration
# for php-coveralls
coverage_clover: build/coverage/clover.xml

View File

@@ -3,7 +3,12 @@ php:
- 5.4
- 5.3
before_script:
- composer install
- composer install --dev
- composer update satooshi/php-coveralls --dev
script:
- ant coverage
after_script:
- php vendor/bin/coveralls -v
notifications:
recipients:
- DL-PP-Platform-PHP-SDK@ebay.com

View File

@@ -18,7 +18,8 @@
"paypal/sdk-core-php": "2.4.*"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
"phpunit/phpunit": "3.7.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-0": {