Merge pull request #47 from mlocati/php7.4

Add support for PHP 7.4
pull/48/head
Michele Locati 2019-10-10 19:36:11 +02:00 committed by GitHub
commit b24ffc67f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 25 deletions

View File

@ -30,30 +30,30 @@ pdo_firebird 5.6 7.0 7.1 7.2 7.3 7.4
pdo_mysql 5.6 7.0 7.1 7.2 7.3 7.4 pdo_mysql 5.6 7.0 7.1 7.2 7.3 7.4
pdo_odbc 5.6 7.0 7.1 7.2 7.3 7.4 pdo_odbc 5.6 7.0 7.1 7.2 7.3 7.4
pdo_pgsql 5.6 7.0 7.1 7.2 7.3 7.4 pdo_pgsql 5.6 7.0 7.1 7.2 7.3 7.4
pdo_sqlsrv 7.0 7.1 7.2 7.3 pdo_sqlsrv 7.0 7.1 7.2 7.3 7.4
pgsql 5.6 7.0 7.1 7.2 7.3 pgsql 5.6 7.0 7.1 7.2 7.3 7.4
pspell 5.6 7.0 7.1 7.2 7.3 pspell 5.6 7.0 7.1 7.2 7.3 7.4
pthreads 5.6 7.0 pthreads 5.6 7.0
recode 5.6 7.0 7.1 7.2 7.3 recode 5.6 7.0 7.1 7.2 7.3
redis 5.6 7.0 7.1 7.2 7.3 redis 5.6 7.0 7.1 7.2 7.3 7.4
shmop 5.6 7.0 7.1 7.2 7.3 shmop 5.6 7.0 7.1 7.2 7.3 7.4
snmp 5.6 7.0 7.1 7.2 7.3 snmp 5.6 7.0 7.1 7.2 7.3 7.4
soap 5.6 7.0 7.1 7.2 7.3 soap 5.6 7.0 7.1 7.2 7.3 7.4
sockets 5.6 7.0 7.1 7.2 7.3 sockets 5.6 7.0 7.1 7.2 7.3 7.4
solr 5.6 7.0 7.1 7.2 7.3 solr 5.6 7.0 7.1 7.2 7.3 7.4
sqlsrv 7.0 7.1 7.2 7.3 sqlsrv 7.0 7.1 7.2 7.3 7.4
ssh2 5.6 7.0 7.1 7.2 7.3 ssh2 5.6 7.0 7.1 7.2 7.3 7.4
sybase_ct 5.6 sybase_ct 5.6
sysvmsg 5.6 7.0 7.1 7.2 7.3 sysvmsg 5.6 7.0 7.1 7.2 7.3 7.4
sysvsem 5.6 7.0 7.1 7.2 7.3 sysvsem 5.6 7.0 7.1 7.2 7.3 7.4
sysvshm 5.6 7.0 7.1 7.2 7.3 sysvshm 5.6 7.0 7.1 7.2 7.3 7.4
tidy 5.6 7.0 7.1 7.2 7.3 tidy 5.6 7.0 7.1 7.2 7.3 7.4
timezonedb 5.6 7.0 7.1 7.2 7.3 timezonedb 5.6 7.0 7.1 7.2 7.3 7.4
uopz 5.6 7.0 7.1 7.2 7.3 uopz 5.6 7.0 7.1 7.2 7.3 7.4
uuid 5.6 7.0 7.1 7.2 7.3 uuid 5.6 7.0 7.1 7.2 7.3 7.4
wddx 5.6 7.0 7.1 7.2 7.3 wddx 5.6 7.0 7.1 7.2 7.3
xdebug 5.6 7.0 7.1 7.2 7.3 xdebug 5.6 7.0 7.1 7.2 7.3 7.4
xmlrpc 5.6 7.0 7.1 7.2 7.3 xmlrpc 5.6 7.0 7.1 7.2 7.3 7.4
xsl 5.6 7.0 7.1 7.2 7.3 xsl 5.6 7.0 7.1 7.2 7.3 7.4
yaml 5.6 7.0 7.1 7.2 7.3 yaml 5.6 7.0 7.1 7.2 7.3 7.4
zip 5.6 7.0 7.1 7.2 7.3 zip 5.6 7.0 7.1 7.2 7.3 7.4

View File

@ -27,11 +27,16 @@ fi
# Outputs: # Outputs:
# the full docker image ID # the full docker image ID
getExtensionImage () { getExtensionImage () {
getExtensionImage_result="php:${2}-cli" if test "${2}" = '7.4'; then
getExtensionImage_version='7.4.0RC3'
else
getExtensionImage_version="${2}"
fi
getExtensionImage_result="php:${getExtensionImage_version}-cli"
getExtensionImage_reqs="${TRAVIS_BUILD_DIR}/data/special-requirements" getExtensionImage_reqs="${TRAVIS_BUILD_DIR}/data/special-requirements"
if test -f "${getExtensionImage_reqs}"; then if test -f "${getExtensionImage_reqs}"; then
if test -n "$(cat "${getExtensionImage_reqs}" | grep -E "^${1}[ \t]+zts[ \t]*$")"; then if test -n "$(cat "${getExtensionImage_reqs}" | grep -E "^${1}[ \t]+zts[ \t]*$")"; then
getExtensionImage_result="php:${2}-zts" getExtensionImage_result="php:${getExtensionImage_version}-zts"
fi fi
fi fi
printf '%s' "${getExtensionImage_result}" printf '%s' "${getExtensionImage_result}"