Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

Commit 9c182c0

Browse files
committed
Update travis config to proper release setup
1 parent 65274b9 commit 9c182c0

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.travis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ go:
55
os:
66
- linux
77
- osx
8-
after_success: |
9-
test "$TRAVIS_OS_NAME" = "linux" -a -n "$TRAVIS_TAG" \
10-
&& curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh \
11-
&& ./bin/goreleaser
8+
script:
9+
- go test ./...
10+
- curl -sfL https://git.io/goreleaser | sh -s -- check
11+
deploy:
12+
- provider: script
13+
skip_cleanup: true
14+
script: curl -sL https://git.io/goreleaser | bash
15+
on:
16+
tags: true
17+
condition: $TRAVIS_OS_NAME = linux

0 commit comments

Comments
 (0)