Added code coverage by Codecov.
This commit is contained in:
parent
f89f9db975
commit
22081b682b
|
@ -27,7 +27,10 @@ before_script:
|
|||
- if [[ "$TYPE" == "pgsql" ]]; then psql -c 'create database b8_test;' -U postgres; fi
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --configuration phpunit.$TYPE.xml --coverage-text
|
||||
- vendor/bin/phpunit --configuration phpunit.$TYPE.xml --coverage-clover=coverage.xml
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
|
Loading…
Reference in a new issue