summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2013-03-23 21:43:55 +0100
committerNikita Popov <nikic@php.net>2013-03-23 21:43:55 +0100
commit2b622261888f2b027a74dbf5aed1225f73617dc8 (patch)
tree9b0273bb4bfe8bd0a47a68407ee7d79c7a6350a7 /.travis.yml
parent430c987716d32c4a509e6504a5a3ac3a8b0d0bbd (diff)
downloadphp-git-2b622261888f2b027a74dbf5aed1225f73617dc8.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
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