Skip to content

Commit aa5e8e6

Browse files
Merge pull request laradock#890 from bestlong/fix-ci-build-fail-php56
Fixed Travis CI build failed for PHP_VERSION=56
2 parents 61168cb + 61aabf6 commit aa5e8e6

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ env:
1010
- PHP_VERSION=71
1111
- HUGO_VERSION=0.20.2
1212

13+
# Installing a newer Docker version
14+
before_install:
15+
- sudo apt-get update
16+
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
17+
1318
script: ./travis-build.sh
1419

1520
deploy:

travis-build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
#### halt script on error
44
set -e
55

6+
echo '##### Print docker version'
7+
docker --version
8+
9+
echo '##### Print environment'
10+
env | sort
11+
612
#### Build the Docker Images
713
if [ -n "${PHP_VERSION}" ]; then
814
cp env-example .env

0 commit comments

Comments
 (0)