Skip to content

Commit

Permalink
Compress binary with upx
Browse files Browse the repository at this point in the history
This reduces the binary size to less than 700KB.
  • Loading branch information
danrue committed Jan 3, 2018
1 parent aa60c2c commit 6d8420e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ builds:
goarm:
- 6
- 7
hooks:
post: find . -name skipgen -exec upx {} +
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ language: go
go:
- 1.9.x

addons:
apt:
packages:
- upx

before_install:
- go get -v github.com/golang/lint/golint
- go get -t ./...
Expand Down

0 comments on commit 6d8420e

Please sign in to comment.