Skip to content

Commit

Permalink
Use TravisCI and GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed May 10, 2018
1 parent 6674a86 commit 8267179
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
builds:
- main: main.go
binary: scan
goos:
- windows
- darwin
- linux
goarch:
- amd64
archive:
format: tar.gz
files:
- plugin.yaml
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sudo: required
language: go

go:
- 1.9.x

script:
- make deploy

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

0 comments on commit 8267179

Please sign in to comment.