Skip to content

Commit

Permalink
add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Apr 22, 2018
1 parent 489d5e4 commit 5978e32
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project_name: Asterisk ARI Proxy
builds:
- main: cmd/ari-proxy/ari-proxy/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
hooks:
pre: dep ensure

dockers:
- image: cycoresystems/ari-proxy
tag_templates:
- "{{ .Tag }}"
- "v{{ .Major }}"
- "v{{ .Major }}.{{ .Minor }}"
- latest
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@ install:
- go get -u github.com/alecthomas/gometalinter/...
- gometalinter --install
script: make ci
services:
- docker
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux

0 comments on commit 5978e32

Please sign in to comment.