diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..00623f8 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,21 @@ +# Build customization +builds: + - main: ./cmd/h2-stream/main.go + env: + - CGO_ENABLED=0 + goos: + - windows + - darwin + - linux + goarch: + - 386 + - amd64 + - arm64 +# Archive customization +archive: + replacements: + darwin: macos + format: tar.gz + format_overrides: + - goos: windows + format: zip \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 4f2ee4d..749fc77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,14 @@ -language: go +sudo: required +language: go +go_import_path: github.com/igarciaolaizola/h2-stream +go: +- 1.11.x +deploy: +- provider: script + skip_cleanup: true + script: curl -sL http://git.io/goreleaser | bash + on: + tags: true +env: + global: + secure: GpqlB/C2a+Jycfd4clxITUdBaFHs2rKj7b4jsVRgMVoVHNrn58sHjz3uiN+hd60H6bOUapcNoPi6WIMXea8wAEwWj10ImQ123dNLzE+v0ZUH7EfVupR33te/0Uhv9hrAW+LTB5xMWZUEn1HbQ7EsFHZT3WF6iJT8y9nlDcRRc3Tbb3fhiww/+x1ubasCY/cAeehOeSrLC2zuP9nBd4ho/qIHZ001jlZUZe2h6QT27Br9dbeR6RHF7sD349qhsH2b3/1v3BRZ9T/UzR8J3f8gBKhV47TMQum4oFtVuJD7x+6NgNzDytIxRv9/I3OFqLKmpj3J0LkMYzEEK4lbaKCDu5u8FDucedQEd1FQPlm4Su8RUAsII+pGU0t2VLf0Csao0u51/mN6SLjwiEn3+26SSdc4JOHG7dDLK952kCzKhsDLbuJ10+/TOLJNYopVM28QarPVl64B6+Jj85iT+yf6XgTO5qA9UeieYKlAaaCquWQXJQEKKBV7YWkqPcbYPRXhESEUgW4/tTOZC1+2ISQ0Jo3JIfuvZi4Hhijy5nyxlXXczBLZ51KRU6FqgkGPYqH8hP22vAsjTzI/yvE7t5cr2WSmbOJfNpGYS6DHOmQ2tf+Zfa1lXWiGs0yRV+lNCYylm9ajNhLfhsFjYARqn8kXc5zyov+LfXXinuK4b0qhr1o= diff --git a/README.md b/README.md index db832eb..0dbb721 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +[![GitHub release](https://img.shields.io/github/release/igarciaolaizola/h2-stream.svg)](https://github.com/igarciaolaizola/h2-stream/releases) [![Build Status](https://travis-ci.com/igarciaolaizola/h2-stream.svg?branch=master)](https://travis-ci.com/igarciaolaizola/h2-stream) [![Go Report Card](https://goreportcard.com/badge/igarciaolaizola/h2-stream)](http://goreportcard.com/report/igarciaolaizola/h2-stream) [![license](https://img.shields.io/github/license/igarciaolaizola/h2-stream.svg)](https://github.com/igarciaolaizola/h2-stream/blob/master/LICENSE.md)