diff --git a/.travis.yml b/.travis.yml index b9c1419..e476f8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,14 @@ language: php php: - 7.0 - 5.6 - - 5.5 - hhvm before_install: - composer selfupdate install: - composer install +script: + - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - CODECLIMATE_REPO_TOKEN=2c24b220853ff7a472533fb97563518380403febe199edfb84094d2f23e40f1e ./vendor/bin/test-reporter \ No newline at end of file + - CODECLIMATE_REPO_TOKEN=2c24b220853ff7a472533fb97563518380403febe199edfb84094d2f23e40f1e ./vendor/bin/test-reporter + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/README.md b/README.md index db9a82b..ee2e362 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/VIPnytt/SitemapParser.svg?branch=master)](https://travis-ci.org/VIPnytt/X-Robots-Tag-parser) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/VIPnytt/SitemapParser/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/VIPnytt/SitemapParser/?branch=master) [![Code Climate](https://codeclimate.com/github/VIPnytt/SitemapParser/badges/gpa.svg)](https://codeclimate.com/github/VIPnytt/SitemapParser) [![Test Coverage](https://codeclimate.com/github/VIPnytt/SitemapParser/badges/coverage.svg)](https://codeclimate.com/github/VIPnytt/SitemapParser/coverage) [![License](https://poser.pugx.org/VIPnytt/SitemapParser/license)](https://github.com/VIPnytt/SitemapParser/blob/master/LICENSE)