Permalink
Browse files

Use Coveralls for coverage (#918)

* [Element] skip collector when internal for single reflections as well

* use Coveralls instead of Scrutinizer
  • Loading branch information...
TomasVotruba committed Jun 30, 2017
1 parent 752ba8d commit 682fc8f43c463884bfef5fd0c8d56c403c8a5608
Showing with 7 additions and 7 deletions.
  1. +3 −0 .coveralls.yml
  2. +0 −3 .scrutinizer.yml
  3. +3 −3 .travis.yml
  4. +1 −1 README.md
View
@@ -0,0 +1,3 @@
service_name: travis-ci
coverage_clover: coverage.xml
json_path: coverage.json
View
@@ -1,3 +0,0 @@
tools:
external_code_coverage:
timeout: 900
View
@@ -32,11 +32,11 @@ script:
- ~/.composer/vendor/bin/apigen generate -h
after_script:
# upload coverage.xml file to Scrutinizer to analyze it
# upload coverage.xml file to Coveralls.io to analyze it
- |
if [[ $PHPUNIT_FLAGS != "" ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.xml
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
php coveralls.phar --verbose
fi
- ./generate-api.sh
View
@@ -1,7 +1,7 @@
# Smart and Readable Documentation for your PHP project
[![Build Status](https://img.shields.io/travis/ApiGen/ApiGen/master.svg?style=flat-square)](https://travis-ci.org/ApiGen/ApiGen)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ApiGen/ApiGen.svg?style=flat-square)](https://scrutinizer-ci.com/g/ApiGen/ApiGen)
[![Coverage Status](https://img.shields.io/coveralls/ApiGen/ApiGen/master.svg?style=flat-square)](https://coveralls.io/github/ApiGen/ApiGen?branch=master)
[![Downloads](https://img.shields.io/packagist/dt/apigen/apigen.svg?style=flat-square)](https://packagist.org/packages/apigen/apigen/stats)
[![Latest stable](https://img.shields.io/packagist/v/apigen/apigen.svg?style=flat-square)](https://packagist.org/packages/apigen/apigen)

0 comments on commit 682fc8f

Please sign in to comment.