Skip to content

Commit

Permalink
add goreleaser deploy to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
d5 committed Jan 30, 2019
1 parent fdc52a0 commit 760bc44
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bin/
dist/
12 changes: 12 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/tengo/main.go
goos:
- darwin
- linux
- windows
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ install:

script:
- make test

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true

0 comments on commit 760bc44

Please sign in to comment.