Merge pull request #890 from bestlong/fix-ci-build-fail-php56
Fixed Travis CI build failed for PHP_VERSION=56
This commit is contained in:
commit
aa5e8e6666
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user