From 5cdc80469f136e24fa81d8cd802a45ae2b424537 Mon Sep 17 00:00:00 2001 From: Jocelyn Giroux Date: Thu, 28 Sep 2017 16:00:45 -0400 Subject: [PATCH] Travis should not try to build docker when no tag is set. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 492b58b..e941558 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,10 @@ install: fi script: -- bash make_dockers.sh +- if [ ${TRAVIS_TAG::6} = image- ]; + then + bash make_dockers.sh; + fi - if [ ${TRAVIS_TAG::1} = v ]; then curl -sL https://git.io/goreleaser | bash;