From b61089a48e8f26554c02a8dd80d9796ef0ea447e Mon Sep 17 00:00:00 2001 From: Theotime Leveque Date: Mon, 19 Jun 2017 18:31:01 -0400 Subject: [PATCH] Travis: Deploy only on tagged commits. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1a630b8..5d2de49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ before_script: - go get -u ./... script: - go test -cover ./... +before_deploy: - go get -u github.com/inconshreveable/mousetrap - make build deploy: @@ -18,4 +19,4 @@ deploy: - ian-windows-amd64.exe on: repo: thylong/ian - branch: master + tags: true