diff options
-rw-r--r-- | .goreleaser.yml | 26 | ||||
-rw-r--r-- | .travis.yml | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..72c658a2 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,26 @@ +# +# .goreleaser.yml +# Build customization +builds: + - main: ./gobgp/ + binary: gobgp + goos: + - linux + goarch: + - amd64 + - 386 + - arm + + - main: ./gobgpd/ + binary: gobgpd + goos: + - linux + goarch: + - amd64 + - 386 + - arm + +archive: + files: + - LICENSE + - README.md diff --git a/.travis.yml b/.travis.yml index 17a91b87..d2c3bdb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,8 @@ matrix: before_install: true install: go get -t ./... script: go test ./... + after_success: + - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash - go: tip before_install: true install: go get -t ./... |