Added the ability to track code coverage with coveralls.io

This commit is contained in:
Joshua Estes 2014-11-05 09:30:31 -05:00
parent 6fe00fa0d6
commit 1c0d623a3e
3 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,10 @@ before_script:
script:
- php bin/phpunit -c build/
- php bin/phpcs -n --standard=PSR1,PSR2 --report=full src/
#- php bin/phpmd src/ text build/rulesets/phpmd.xml
#- php bin/phpmd src/ text build/rulesets/phpmd.xml
after_script:
php bin/coveralls
notifications:
email: true

View File

@ -25,5 +25,6 @@
<logging>
<log type="coverage-html" target="docs/code-coverage"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>

View File

@ -44,7 +44,8 @@
"phpunit/phpunit": "~4.3.1",
"fzaninotto/faker": "~1.4.0",
"mikey179/vfsStream": "~1.4.0",
"squizlabs/php_codesniffer": "~1.5.5"
"squizlabs/php_codesniffer": "~1.5.5",
"satooshi/php-coveralls": "~0.6.1"
},
"config": {
"bin-dir": "bin"