Add php-7.0.0alpha2 (Issue #108)

Adding 7.0 to travis

Fixes for the reviewed code

Fixes to have the directory as 7.0

Change version on travis

Remove GPG from Dockerfile on 7.0
This commit is contained in:
Marcelo Andrade
2015-06-29 23:34:47 +00:00
committed by Tianon Gravi
parent d0b37892f4
commit 11f5f37233
14 changed files with 542 additions and 3 deletions

View File

@ -3,13 +3,15 @@ set -e
declare -A gpgKeys
gpgKeys=(
[7.0]='1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763'
[5.6]='6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 0BD78B5F97500D450838F95DFE857D9A90D90EC1'
[5.5]='0BD78B5F97500D450838F95DFE857D9A90D90EC1 0B96609E270F565C13292B24C13C70B87267B52D'
[5.4]='F38252826ACD957EF380D39F2F7956BC5DA04B5D'
[5.3]='0B96609E270F565C13292B24C13C70B87267B52D 0A95E9A026542D53835E3F3A7DEC4E69FC9C83D7'
)
# see http://php.net/downloads.php
alphaVersion="7.0"
fullAlphaVersion="7.0.0alpha2"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
versions=( "$@" )
@ -32,7 +34,12 @@ for version in "${versions[@]}"; do
done
if [ -z "$fullVersion" ]; then
echo >&2 "ERROR: missing $version in $packagesUrl"
continue
# if version is alpha then we add the missing part
if [ "$alphaVersion" == "$version" ]; then
fullVersion="$fullAlphaVersion"
else
continue
fi
fi
gpgKey="${gpgKeys[$version]}"
@ -41,7 +48,7 @@ for version in "${versions[@]}"; do
echo >&2 " try looking on http://php.net/downloads.php#gpg-$version"
exit 1
fi
( set -x; cp docker-php-ext-* "$version/" )
for variant in apache fpm; do