Added the ability to track code coverage with coveralls.io
This commit is contained in:
parent
6fe00fa0d6
commit
1c0d623a3e
@ -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
|
||||
|
||||
@ -25,5 +25,6 @@
|
||||
|
||||
<logging>
|
||||
<log type="coverage-html" target="docs/code-coverage"/>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
</logging>
|
||||
</phpunit>
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user