Merge pull request #2940 from laradock/adjust-travis-ci

Adjust travis ci
This commit is contained in:
Shao Yu-Lung (Allen) 2021-04-07 19:40:37 +08:00 committed by GitHub
commit 5b321d6fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ if [ -n "${PHP_VERSION}" ]; then
sed -i -- 's/PHALCON=true/PHALCON=false/g' .env
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
sed -i -- 's/SWOOLE=true/SWOOLE=false/g' .env
sed -i -- 's/V8JS=true/V8JS=false/g' .env
sed -i -- 's/OCI8=true/OCI8=false/g' .env
if [ "${PHP_VERSION}" == "5.6" ]; then
# Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported
# https://github.com/aerospike/aerospike-client-php5/issues/145
@ -31,18 +31,10 @@ if [ -n "${PHP_VERSION}" ]; then
sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env
fi
if [ "${PHP_VERSION}" == "7.3" ]; then
# V8JS extension does not yet support PHP 7.3.
sed -i -- 's/WORKSPACE_INSTALL_V8JS=true/WORKSPACE_INSTALL_V8JS=false/g' .env
# This ssh2 extension does not yet support PHP 7.3.
sed -i -- 's/PHP_FPM_INSTALL_SSH2=true/PHP_FPM_INSTALL_SSH2=false/g' .env
# xdebug extension does not yet support PHP 7.3.
sed -i -- 's/PHP_FPM_INSTALL_XDEBUG=true/PHP_FPM_INSTALL_XDEBUG=false/g' .env
# memcached extension does not yet support PHP 7.3.
sed -i -- 's/PHP_FPM_INSTALL_MEMCACHED=true/PHP_FPM_INSTALL_MEMCACHED=false/g' .env
fi
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
cat .env
docker-compose build ${BUILD_SERVICE}
docker images