Skip to content

Commit

Permalink
20230402 Fix CI build breakage. 2
Browse files Browse the repository at this point in the history
         Related Issue(s) #158 #159 #162 #163
  • Loading branch information
NathanGibbs3 committed Apr 2, 2023
1 parent 4daad54 commit fe9f050
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/setupenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ if [ "$pvM" \< "5" ] || ( [ "$pvM" == "5" ] && [ "$pvm" \< "3" ]); then
else
echo "enabled."
fi
if [ "$pvM" \> "7" ] || ( [ "$pvM" == "7" ] && [ "$pvm" \> "2" ]); then
echo "Enabling PHP 7.3+ Code Coverage fix."
if [ "$1" == "" ] && [ "$TRAVIS" == "true" ]; then
phpenv config-add tests/phpcommon/xdebug-7.3+.ini
fi
fi
# PHP Safe Mode not available on PHP 5.4+
# Throws Deprecation errors on 5.3x.
# Breaks unit tests that need process isolation and don't preserve global
Expand Down Expand Up @@ -191,10 +197,8 @@ if [ "$pvM" \> "7" ]; then # PHP 8x
ADODBPATH="ADOdb-$ADODBVer"
fi
elif [ "$pvM" \> "5" ]; then # PHP 7x
if [ "$pvm" \> "2" ]; then # PHP 7.3+
ADODBVer=5.22.4
elif [ "$pvm" \> "1" ]; then # PHP 7.2+
ADODBVer=5.20.13
if [ "$pvm" \> "1" ]; then # PHP 7.2+
ADODBVer=5.20.12
else
ADODBVer=5.20.0
fi
Expand All @@ -203,7 +207,7 @@ elif [ "$pvM" \> "5" ]; then # PHP 7x
fi
elif [ "$pvM" \> "4" ]; then # PHP 5x
if [ "$pvm" \> "2" ]; then # PHP 5.3+
ADODBVer=5.20.9
ADODBVer=5.20.10
else
ADODBVer=5.01beta
fi
Expand Down

0 comments on commit fe9f050

Please sign in to comment.