Skip to content

Commit

Permalink
build: add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
igolaizola committed Jan 24, 2019
1 parent 383d674 commit 866f9aa
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 866f9aa

Please sign in to comment.