From 5c3e1e36e17aa2ead2d5774d0ce89b2641107c8f Mon Sep 17 00:00:00 2001 From: Mathieu Debove Date: Tue, 21 Apr 2020 09:11:50 +0200 Subject: [PATCH] Update Travis CI config --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 635872f..bb2f3f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,15 @@ os: - linux env: - GO111MODULE=on -install: skip +install: skip script: + - GO111MODULE=off go get ./... # to populate $GOPATH/src for tests + - go build ./... - go test ./... +deploy: +- provider: script + skip_cleanup: true + script: curl -sL https://git.io/goreleaser | bash + on: + tags: true + condition: $TRAVIS_OS_NAME = linux