cloak/robo-coveralls-kit

2.1.4 2015-12-05 09:16 UTC

README

robo-coveralls-kit is a library to send the report to the coveralls.
Installation of Robo PHP Task Runner will be mandatory to use it.

Latest Stable Version Latest Unstable Version Build Status HHVM Status Coverage Status Dependency Status

Basic Usage

Specify the configuration file, you can send the file the report just run.
For more information about the configuration file, please refer to the coveralls-kit.

class RoboFile extends Tasks
{
	use \coverallskit\robo\loadTasks;

	public function coverallsUpload()
	{
		$result = $this->taskCoverallsKit()
			->configureBy('coveralls.toml')
			->run();

		return $result;
	}
}

Output only the report file

Only to output the report to confirm you can use the saveOnly method.
Just generate a report file, but does not upload.

public function coverallsTest()
{
	$result = $this->taskCoverallsKit()
		->configureBy('coveralls.toml')
		->saveOnly()
		->run();

	return $result;
}

Testing robo-coveralls-kit

Please try the following command.

composer install
composer test