diff --git a/.travis.yml b/.travis.yml index faa8085f2..0a3301b63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,9 @@ stages: - test - build - name: build-docker-image-for-release - if: tag IS present + if: branch = master AND tag IS present - name: build-docker-image-for-dev - if: branch = dev + if: branch = dev AND tag IS present branches: only: - master