]> granicus.if.org Git - php/commitdiff
Fix cli server tests on travis
authorNikita Popov <nikic@php.net>
Sat, 23 Mar 2013 20:43:55 +0000 (21:43 +0100)
committerNikita Popov <nikic@php.net>
Sat, 23 Mar 2013 20:43:55 +0000 (21:43 +0100)
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.

.travis.yml

index cb127c7f7579b5038001f20ce4daec59e0f340f6..4d127fe0201646985e893c70eb500cac4a004874 100644 (file)
@@ -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