Permalink
Browse files

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.
  • Loading branch information...
1 parent 430c987 commit 2b622261888f2b027a74dbf5aed1225f73617dc8 @nikic nikic committed Mar 23, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
View
@@ -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

0 comments on commit 2b62226

Please sign in to comment.