Skip to content

Commit

Permalink
use travis ci - no windows build now, and gzipped.
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Feb 10, 2019
1 parent 5e9997c commit 3b4daa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ script:
#- go vet $(go list ./... | grep -v /vendor/)
#- go test -v -race ./...
# Only build binaries from the latest Go release.
- if [ "${LATEST}" = "true" ]; then cd cli; gox -os="linux darwin " -arch="amd64" -output="../bin/ini-op.{{.OS}}.{{.Arch}}" -ldflags="-s -w -X \"${IMPPATH}/cli_common.Buildstamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'`\" -X \"${IMPPATH}/cli_common.Githash=`git rev-parse --short HEAD`\" -X \"${IMPPATH}/cli_common.GoVersion=`go version`\"" -verbose ./...; cd ..; for f in bin/ini-op.darwin.amd64 bin/ini-op.linux.amd64; do gzip $f; done; ls -la bin; fi
- if [ "${LATEST}" = "true" ]; then cd cli; gox -os="linux darwin " -arch="amd64" -output="../bin/ini-op.{{.OS}}.{{.Arch}}" -ldflags="-s -w -X \"${IMPPATH}/cli_common.Buildstamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'`\" -X \"${IMPPATH}/cli_common.Githash=`git rev-parse --short HEAD`\" -X \"${IMPPATH}/cli_common.GoVersion=`go version`\"" -verbose ./...; cd ..; for f in bin/ini-op.*; do gzip $f; done; ls -la bin; fi

#before_deploy:
# # Set up git user name and tag this commit
Expand Down

0 comments on commit 3b4daa0

Please sign in to comment.