Skip to content

Commit

Permalink
20230331 Fix CI build breakage.
Browse files Browse the repository at this point in the history
         Related Issue(s) #158 #159 #162
  • Loading branch information
NathanGibbs3 committed Mar 31, 2023
1 parent c903093 commit b2fd1f9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions tests/setupenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ ADODl=archive
ADOFilePfx=v
ADOFileSfx=.tar.gz
if [ "$pvM" \> "7" ]; then # PHP 8x
ADODBVer=5.21.0
ADODBVer=5.21.1
if [ "$1" == "" ] && [ "$TRAVIS" == "true" ]; then
ADODBPATH="ADOdb-$ADODBVer"
fi
elif [ "$pvM" \> "5" ]; then # PHP 7x
if [ "$pvm" \> "2" ]; then # PHP 7.3+
ADODBVer=5.20.20
ADODBVer=5.20.21
elif [ "$pvm" \> "1" ]; then # PHP 7.2+
ADODBVer=5.20.13
else
Expand All @@ -205,7 +205,17 @@ elif [ "$pvM" \> "4" ]; then # PHP 5x
ADODBVer=5.01beta
fi
if [ "$1" == "" ] && [ "$TRAVIS" == "true" ]; then
ADODBPATH="ADOdb-$ADODBVer/phplens/adodb5"
ADOvM=`echo $ADODBVer|sed -r -e "s/\.[0-9]+.*$//"`
ADOvm=`echo $ADODBVer|sed -r -e "s/^[0-9]\.//" -e "s/[a-z]+$//"`
ADOtmp=`echo $ADOvm|sed -r -e "s/\.?[0-9]+$//"`
if [ "$ADOtmp" != "" ]; then
ADOvm=$ADOtmp
fi
if [ "$ADOvM" == "5" ] && [ $ADOvm \> "18" ]; then
ADODBPATH="ADOdb-$ADODBVer"
else
ADODBPATH="ADOdb-$ADODBVer/phplens/adodb5"
fi
fi
else # PHP 4x
# Legacy ADODB
Expand Down

0 comments on commit b2fd1f9

Please sign in to comment.