Skip to content

Commit

Permalink
Fix PHP 5.x failing testsuite setup
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 10, 2021
1 parent cf27b47 commit 930b1d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ if [ "$(php -r 'echo PHP_MAJOR_VERSION;')" = "5" ];then
if [ "$(php -r 'echo (PHP_MINOR_VERSION < 6) ? "true" : "false";')" = "true" ];then
# seems like there is no bcmath extension to be found
BCMATH_EXT=""
fi

if [ "$(php -r 'echo PHP_MINOR_VERSION;')" = "3" ];then
# pcov does not exist for PHP 5
IMAGICK_OR_GD="-dextension=imagick.so"
fi

fi

echo "Root folder: ${ROOT_DIR}"
Expand Down

0 comments on commit 930b1d0

Please sign in to comment.