From bedb663a8e95647bef6c38fe3629adffb05feda9 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Wed, 3 May 2017 18:56:01 +0800 Subject: [PATCH] use CI build config set to update PHP_VERSION in .env --- travis-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/travis-build.sh b/travis-build.sh index 5c00171e..506d083f 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -6,6 +6,7 @@ set -e #### Build the Docker Images if [ -n "${PHP_VERSION}" ]; then cp env-example .env + sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env sed -i -- 's/=false/=true/g' .env cat .env docker-compose build