Use scrutnizer on the CI process

parent 8a56bce4
set -x
if [ "$TRAVIS_PHP_VERSION" = '7.1' ] ; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./clover.xml
fi
...@@ -112,6 +112,9 @@ matrix: ...@@ -112,6 +112,9 @@ matrix:
allow_failures: allow_failures:
- php: nightly - php: nightly
after_script:
- sh .travis.coverage.sh
install: install:
- travis_retry composer install - travis_retry composer install
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
| [Master][Master] | [2.5][2.5] | | [Master][Master] | [2.5][2.5] |
|:----------------:|:----------:| |:----------------:|:----------:|
| [![Build status][Master image]][Master] | [![Build status][2.5 image]][2.5] | | [![Build status][Master image]][Master] | [![Build status][2.5 image]][2.5] |
| [![Code Coverage](https://scrutinizer-ci.com/g/doctrine/dbal/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/doctrine/dbal/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/doctrine/dbal/badges/coverage.png?b=2.5)](https://scrutinizer-ci.com/g/doctrine/dbal/?branch=2.5) |
Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction. Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment