Skip to content

Commit 8267179

Browse files
committed
Use TravisCI and GoReleaser
1 parent 6674a86 commit 8267179

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.goreleaser.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
builds:
2+
- main: main.go
3+
binary: scan
4+
goos:
5+
- windows
6+
- darwin
7+
- linux
8+
goarch:
9+
- amd64
10+
archive:
11+
format: tar.gz
12+
files:
13+
- plugin.yaml

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
sudo: required
2+
language: go
3+
4+
go:
5+
- 1.9.x
6+
7+
script:
8+
- make deploy
9+
10+
deploy:
11+
- provider: script
12+
skip_cleanup: true
13+
script: curl -sL http://git.io/goreleaser | bash
14+
on:
15+
tags: true

0 commit comments

Comments
 (0)