Skip to content

Commit

Permalink
Fix build to prevent phpunit from exiting after build.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisryan committed May 24, 2016
1 parent 7376b91 commit 284c62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$phpunitConfiguration = PHPUnit_Util_Configuration::getInstance(__DIR__ . '/phpunit.xml');
$phpunitArguments = ['coverageHtml' => __DIR__ . '/coverage', 'configuration' => $phpunitConfiguration];
$testRunner = new PHPUnit_TextUI_TestRunner();
$result = $testRunner->doRun($phpunitConfiguration->getTestSuiteConfiguration(), $phpunitArguments);
$result = $testRunner->doRun($phpunitConfiguration->getTestSuiteConfiguration(), $phpunitArguments, false);
if (!$result->wasSuccessful()) {
exit(1);
}
Expand Down

0 comments on commit 284c62f

Please sign in to comment.