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