File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/Symfony/Component/Process/Tests Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ addons:
13
13
env :
14
14
global :
15
15
- MIN_PHP=5.3.3
16
+ - SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/versions/5.6/bin/php
16
17
17
18
matrix :
18
19
include :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
30
30
public static function setUpBeforeClass ()
31
31
{
32
32
$ phpBin = new PhpExecutableFinder ();
33
- self ::$ phpBin = ' phpdbg ' === PHP_SAPI ? 'php ' : $ phpBin ->find ();
33
+ self ::$ phpBin = getenv ( ' SYMFONY_PROCESS_PHP_TEST_BINARY ' ) ?: ( ' phpdbg ' === PHP_SAPI ? 'php ' : $ phpBin ->find () );
34
34
if ('\\' !== DIRECTORY_SEPARATOR ) {
35
35
// exec is mandatory to deal with sending a signal to the process
36
36
// see https://github.com/symfony/symfony/issues/5030 about prepending
You can’t perform that action at this time.
0 commit comments