Updated travis to only build docker image in one of the envs

This commit is contained in:
Alejandro Celaya 2019-08-16 20:49:24 +02:00
parent 872241f497
commit 209e3e9e14

View File

@ -35,7 +35,7 @@ before_script:
script: script:
- composer ci - 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: after_success:
- rm -f build/clover.xml - rm -f build/clover.xml