Skip to content

Commit

Permalink
Fixed CI/CD to do not build darwin/386 (unsupported since go1.15)
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Oct 26, 2020
1 parent 374fa80 commit 221a403
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -20,7 +20,10 @@ install:

script:
- go test -v ./...
- if [ "${LATEST}" = "true" ]; then gox -ldflags "-s -w -X main.Version=$TRAVIS_TAG" -os="linux darwin" -arch="386 amd64" -osarch="linux/arm" -output="monday-{{.OS}}-{{.Arch}}" -verbose ./...; fi
- if [ "${LATEST}" = "true" ]; then
gox -ldflags "-s -w -X main.Version=$TRAVIS_TAG" -os="darwin" -arch="amd64" -osarch="linux/arm" -output="monday-{{.OS}}-{{.Arch}}" -verbose ./...;
gox -ldflags "-s -w -X main.Version=$TRAVIS_TAG" -os="linux" -arch="386 amd64" -osarch="linux/arm" -output="monday-{{.OS}}-{{.Arch}}" -verbose ./...;
fi

deploy:
provider: releases
Expand Down

0 comments on commit 221a403

Please sign in to comment.