Download the PHP package cloak/coverallskit without Composer
On this page you can find all versions of the php package cloak/coverallskit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package coverallskit
CoverallsKit
CoverallsKit is the library for transmitting the report of code coverage to coveralls.
This library works with PHP5.5 or more.
Requirements
- PHP >= 5.5
- Xdebug >= 2.2.2
Installation
Installation that uses the composer.
- Install the composer.
-
Install the package.
composer require cloak/coverallskit --dev
Basic usage
You can generate a json file using the coverallskit/CoverallsReportBuilder.
You just set the code coverage of rows that have been executed.
Code coverage can be obtained easily by using the HHVM and xdebug.
Using a configuration file
If you use a configuration file, you can send the report more easily.
Configuration file format
It is also possible to use a configuration file.
The file format is toml format.
File format
Name | Required | Default | Description |
---|---|---|---|
token | optional | COVERALLS_REPO_TOKEN | coveralls.io api token. If you do not specify, use the environment variable COVERALLS_REPO_TOKEN. |
service | optional | travis-ci | CI(Continuous Integration) service name. You can use the travis-ci or travis-pro or circle-ci or drone.io or codeship |
reportFile | optional | Please look at the reportFile section. | |
repositoryDirectory | optional | . | Directory path of the git repository. Will specify a relative path from the directory containing the configuration file. |
reportFile
imput
Name | Required | Default | Description |
---|---|---|---|
type | optional | Will specify the file type in the code coverage report. You can specify the lcov or clover. | |
file | optional | coveralls.json | Will specify a file of code coverage report. |
output
will specify the json file name to be sent to the coveralls.io.
Will specify a relative path from the directory containing the configuration file.
Task for Robo
Support the robo of tasks, so you can easily send a report.
Please look at the robo-coveralls-kit for more information.
Detailed documentation
- Work with Travis-CI
Run only unit test
composer test
How to run the example
vendor/bin/robo example:basic
All versions of coverallskit with dependencies
guzzlehttp/guzzle Version ~6.2
gitonomy/gitlib Version ~1.0
yosymfony/toml Version ~0.3
symfony/dom-crawler Version ~3.0
symfony/css-selector Version ~3.0
zendframework/zend-config Version ~2.6
zendframework/zend-console Version ~2.6
eloquent/pathogen Version ~0.6