Integrate Coveralls coverage reporting

This commit is contained in:
Alexey Kopytko 2020-01-30 04:57:48 +09:00
parent 07cd651c60
commit 2104feddf4
No known key found for this signature in database
GPG Key ID: C2E9F3FB4871E4A8
3 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,3 @@
sudo: false
language: php
php:
- 5.6
@ -19,5 +17,8 @@ install:
- mkdir -p build/cache
script:
- php vendor/bin/phpunit
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- vendor/bin/php-cs-fixer --cache-file=build/cache/.php_cs.cache --diff --dry-run --stop-on-violation --verbose fix
after_success:
- travis_retry php vendor/bin/php-coveralls

View File

@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/pear/Spreadsheet_Excel_Writer.svg?branch=master)](https://travis-ci.org/pear/Spreadsheet_Excel_Writer)
[![Latest Stable Version](https://poser.pugx.org/pear/spreadsheet_excel_writer/v/stable)](https://packagist.org/packages/pear/spreadsheet_excel_writer)
[![Coverage Status](https://coveralls.io/repos/github/pear/Spreadsheet_Excel_Writer/badge.svg?branch=master)](https://coveralls.io/github/pear/Spreadsheet_Excel_Writer?branch=master)
This package is [Spreadsheet_Excel_Writer](http://pear.php.net/package/Spreadsheet_Excel_Writer) and has been migrated from [svn.php.net](https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer).

View File

@ -36,8 +36,9 @@
"pear/pear-core-minimal": "^1.10"
},
"require-dev": {
"phpunit/phpunit": "<6.0",
"friendsofphp/php-cs-fixer": "^2.16"
"friendsofphp/php-cs-fixer": "^2.16",
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "<6.0"
},
"autoload": {
"psr-0": {