diff --git a/.travis.yml b/.travis.yml index 7ca5460d..1d728b09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ go: - stable before_install: - go get github.com/mattn/goveralls +- sudo apt-get -y install upx-ucl install: true jobs: include: diff --git a/build b/build index 5b6f6840..bb9b56e4 100755 --- a/build +++ b/build @@ -2,5 +2,6 @@ VERSION=$(git describe --tags HEAD) export GO111MODULE=on go get github.com/mitchellh/gox -gox -os="linux darwin windows" -arch="386 amd64" -ldflags="-X main.Version=${VERSION}" +gox -os="linux darwin windows" -arch="386 amd64" -ldflags="-s -w -X main.Version=${VERSION}" +upx --lzma talisman_{l,d,w}* shasum -b -a256 talisman_{l,d,w}* > checksums \ No newline at end of file