Skip to content

Commit 5c3e1e3

Browse files
debovemaFrank Martinez
authored andcommitted
Update Travis CI config
1 parent dca1631 commit 5c3e1e3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ os:
55
- linux
66
env:
77
- GO111MODULE=on
8-
install: skip
8+
install: skip
99
script:
10+
- GO111MODULE=off go get ./... # to populate $GOPATH/src for tests
11+
- go build ./...
1012
- go test ./...
13+
deploy:
14+
- provider: script
15+
skip_cleanup: true
16+
script: curl -sL https://git.io/goreleaser | bash
17+
on:
18+
tags: true
19+
condition: $TRAVIS_OS_NAME = linux

0 commit comments

Comments
 (0)