Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
add coveralls script
Browse files Browse the repository at this point in the history
  • Loading branch information
holyshared committed Aug 31, 2014
1 parent fbf3fae commit b8375fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions script/coveralls.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
* Generate a json file
*/
$configuration = Configuration::loadFromFile(__DIR__ . '/../coveralls.yml');

$builder = new ReportBuilder();
$configuration->applyTo($builder);
$builder = ReportBuilder::fromConfiguration($configuration);

foreach ($result as $file => $coverage) {
if (preg_match('/vendor/', $file) || preg_match('/spec/', $file)) {
Expand Down

0 comments on commit b8375fc

Please sign in to comment.