Skip to content

Commit 31a6221

Browse files
committed
Upgrading run-tests.php is no longer necessary
PHP 5.4 was the last version where run-tests.php failed to report a non-zero exit code after a failure. Since the extension requires 5.5+, we can rely on any existing run-tests.php file.
1 parent acddcdd commit 31a6221

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.travis.scripts/before_script.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ phpize
1111
make all -j4
1212
make install
1313

14-
# Use latest run-tests.php, as older versions don't report a non-zero exit code for failures
15-
wget -O run-tests.php https://raw.githubusercontent.com/php/php-src/master/run-tests.php
16-
1714
# Add the extension to php.ini
1815
echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
1916

0 commit comments

Comments
 (0)