Skip to content
Extraits de code Groupes Projets
Valider a7fc6b6f rédigé par Matthieu Napoli's avatar Matthieu Napoli
Parcourir les fichiers

Disable gc collection for PHP 5.3.3 to avoid segfaults in Travis...

Disable gc collection for PHP 5.3.3 to avoid segfaults in Travis https://bugs.php.net/bug.php?id=53976
parent 4da35446
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -46,6 +46,10 @@ class TestsRun extends ConsoleCommand ...@@ -46,6 +46,10 @@ class TestsRun extends ConsoleCommand
$command = '../../vendor/phpunit/phpunit/phpunit'; $command = '../../vendor/phpunit/phpunit/phpunit';
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
$command = 'php -dzend.enable_gc=0 ' . $command;
}
if (!$this->isCoverageEnabled($options) && $this->isXdebugLoaded()) { if (!$this->isCoverageEnabled($options) && $this->isXdebugLoaded()) {
$message = 'Did you know? You can run tests faster by disabling xdebug'; $message = 'Did you know? You can run tests faster by disabling xdebug';
if($this->isXdebugCodeCoverageEnabled()) { if($this->isXdebugCodeCoverageEnabled()) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter