Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Architecture file names for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wadearnold committed Apr 26, 2018
1 parent 37e2278 commit f8f9160
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# In the wild: https://github.com/cloudflare/logshare
# Go on Travis: https://docs.travis-ci.com/user/languages/go/
# GitHub Releases Uploading: https://docs.travis-ci.com/user/deployment/releases/
# Git Basics - Tagging https://git-scm.com/book/en/v2/Git-Basics-Tagging
language: go
sudo: false
matrix:
Expand Down Expand Up @@ -29,7 +30,7 @@ script:
- go test -i -race $EXCLUDE_VENDOR
- go test -v -covermode=count -coverprofile=coverage.out ./...
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64 386" -output="achsvc.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64 386" -output="achsvc.{{.OS}}.{{.Arch}}" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
# after_success:
# - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
# - ghr --username moov-io --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/
Expand Down

0 comments on commit f8f9160

Please sign in to comment.