From 209e3e9e14b9819dcb7817e9af0ad5c8556b9785 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 16 Aug 2019 20:49:24 +0200 Subject: [PATCH] Updated travis to only build docker image in one of the envs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 837884e7..5e0b9c65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ before_script: script: - composer ci - - if [[ ! -z "$DOCKERFILE_CHANGED" ]]; then docker build -t shlink-docker-image:temp . ; fi + - if [[ ! -z "$DOCKERFILE_CHANGED" && "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then docker build -t shlink-docker-image:temp . ; fi after_success: - rm -f build/clover.xml