From 0f3be74b7d73fe54cf6b148350320ab0bcfdcc55 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 18:44:36 +0800 Subject: [PATCH 1/4] travis ci enabel swoole, memcached --- travis-build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/travis-build.sh b/travis-build.sh index 67a55c30..8b7509ab 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -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 @@ -37,8 +37,6 @@ if [ -n "${PHP_VERSION}" ]; then 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 From d3546cc677e598e2938cb1ad430db46640c03ea4 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 18:45:47 +0800 Subject: [PATCH 2/4] remove duplicate sed command --- travis-build.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/travis-build.sh b/travis-build.sh index 8b7509ab..881956bd 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -39,8 +39,6 @@ if [ -n "${PHP_VERSION}" ]; then sed -i -- 's/PHP_FPM_INSTALL_XDEBUG=true/PHP_FPM_INSTALL_XDEBUG=false/g' .env fi - sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env - cat .env docker-compose build ${BUILD_SERVICE} docker images From 326d697bd2e40d52794f8ec3678b7a9384593cdb Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 18:47:56 +0800 Subject: [PATCH 3/4] v8js disable at global --- travis-build.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/travis-build.sh b/travis-build.sh index 881956bd..c970a3b0 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -31,8 +31,6 @@ 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. From 9b626947aeb42bb85e23a7906a3965a9735bd55e Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 18:50:36 +0800 Subject: [PATCH 4/4] enable xdebug when php 7.3 --- travis-build.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/travis-build.sh b/travis-build.sh index c970a3b0..7d5cd711 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -33,8 +33,6 @@ if [ -n "${PHP_VERSION}" ]; then if [ "${PHP_VERSION}" == "7.3" ]; then # 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 fi cat .env