Added code coverage by Codecov.

This commit is contained in:
Dmitry Khomutov 2017-11-11 18:57:52 +07:00
parent f89f9db975
commit 22081b682b
No known key found for this signature in database
GPG key ID: EC19426474B37AAC

View file

@ -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: