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