From 61aabf664e199b7504e1ad667f0868cac981d0ce Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 4 May 2017 16:15:28 +0800 Subject: [PATCH] fixing CI build failed --- .travis.yml | 5 +++++ travis-build.sh | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7643643..ccbb38d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,11 @@ env: - PHP_VERSION=71 - HUGO_VERSION=0.20.2 +# Installing a newer Docker version +before_install: + - sudo apt-get update + - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine + script: ./travis-build.sh deploy: diff --git a/travis-build.sh b/travis-build.sh index 506d083..8cabad8 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -3,6 +3,12 @@ #### halt script on error set -e +echo '##### Print docker version' +docker --version + +echo '##### Print environment' +env | sort + #### Build the Docker Images if [ -n "${PHP_VERSION}" ]; then cp env-example .env