From: Nikita Popov Date: Sat, 23 Mar 2013 20:43:55 +0000 (+0100) Subject: Fix cli server tests on travis X-Git-Tag: php-5.5.0beta2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b622261888f2b027a74dbf5aed1225f73617dc8;p=php Fix cli server tests on travis This passes an absolute path to the executable, rather than a relative. Maybe this is something that should be done automatically by run-tests.php as it doesn't apply only to travis. --- diff --git a/.travis.yml b/.travis.yml index cb127c7f75..4d127fe020 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ notifications: email: false env: - - REPORT_EXIT_STATUS=1 TEST_PHP_EXECUTABLE=./sapi/cli/php + - REPORT_EXIT_STATUS=1 before_script: # Compile PHP @@ -21,4 +21,4 @@ before_script: - . ./travis/ext/pdo_pgsql/setup.sh # Run PHPs run-tests.php -script: ./sapi/cli/php run-tests.php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff +script: ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff