com php-src: Fix cli server tests on travis: .travis.yml
| From: | Nikita Popov | Date: | Sat, 23 Mar 2013 20:43:55 +0000 |
| Subject: | com php-src: Fix cli server tests on travis: .travis.yml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71706@lists.php.net to get a copy of this message | ||
Commit: 2b622261888f2b027a74dbf5aed1225f73617dc8
Author: Nikita Popov <nikic@php.net> Sat, 23 Mar 2013 21:43:55 +0100
Parents: 430c987716d32c4a509e6504a5a3ac3a8b0d0bbd
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2b622261888f2b027a74dbf5aed1225f73617dc8
Log:
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.
Changed paths:
M .travis..yml
Diff:
diff --git a/.travis.yml b/.travis.yml
index cb127c7...4d127fe 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