Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
unsupported GOOS/GOARCH pair darwin/386
  • Loading branch information
jayme-github committed Mar 29, 2021
1 parent 3c9e043 commit 50b7c58
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 @@ -22,7 +22,7 @@ install:
script:
- go vet $(go list ./... | grep -v /vendor/)
- go test -v ./...
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64 386"
- if [ "${LATEST}" = "true" ]; then gox -os="darwin" -os="linux" -os="windows" -arch="amd64" -arch="arm64" -osarch="linux/386" -osarch="windows/386"
-output="build/alertmanager-webhook-fcm.{{.OS}}.{{.Arch}}" -ldflags "-extldflags
\"-static\" -X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- if [ "${LATEST}" = "true" -a -n "${TRAVIS_TAG}" ]; then docker build -t "jaymedh/alertmanager-webhook-fcm:${TRAVIS_TAG}"
Expand Down

0 comments on commit 50b7c58

Please sign in to comment.