Skip to content

Commit

Permalink
Fix travis deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
toVersus committed Jul 8, 2019
1 parent e913341 commit 93575fc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- "1.12"
- 1.12.x
env:
- GO111MODULE=on
git:
Expand All @@ -18,9 +18,11 @@ jobs:
script: go test -v -race -cover ./...
- stage: build
script: go build
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
- stage: deploy
if: tag IS present
script: skip
deploy: &goreleaser
provider: script
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true

0 comments on commit 93575fc

Please sign in to comment.