From 8eab3763cf574bb33afc98e64d78407bdbbefc1a Mon Sep 17 00:00:00 2001 From: Otto Suess Date: Mon, 21 Jan 2019 15:24:56 +0100 Subject: [PATCH] travis: only build when tag is set --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 58f7aa1..a81ca84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ install: - go get -t -v ./... script: - go test -v ./... -- ./build.sh +- if [ -n "$TRAVIS_TAG" ]; then ./build.sh; fi deploy: provider: releases