Skip to content

Commit

Permalink
Merge pull request #159 from rekby/devel
Browse files Browse the repository at this point in the history
no build darwin/amd64 from go 1.10
  • Loading branch information
rekby committed Aug 28, 2021
2 parents b1d6e3a + 89e5482 commit f279b69
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
Expand Up @@ -35,7 +35,8 @@ before_deploy:
- mkdir -p $GOPATH/src/github.com/rekby
- ln -s "$PWD" "$GOPATH/src/github.com/rekby/lets-proxy2"
- cd "$GOPATH/src/github.com/rekby/lets-proxy2"
- OS_ARCH_BUILDS="darwin/amd64 linux/386 linux/amd64 linux/arm freebsd/386 freebsd/amd64 freebsd/arm windows/386 windows/amd64"
- OS_ARCH_BUILDS="linux/386 linux/amd64 linux/arm freebsd/386 freebsd/amd64 freebsd/arm windows/386 windows/amd64"
- test "$GO_VERSION$ -eq "1.10" || OS_ARCH_BUILDS="$OS_ARCH_BUILDS darwin/amd64"
- GO111MODULE=on CGO_ENABLED=0 gox --mod=vendor -osarch "$OS_ARCH_BUILDS" --ldflags "-X \"main.VERSION=$TRAVIS_TAG+build-$TRAVIS_BUILD_NUMBER, Build time $BUILD_TIME, commit $TRAVIS_COMMIT, $GO_VERSION\"" --output="$OUTPUT/lets-proxy_{{.OS}}_{{.Arch}}" -verbose --rebuild ./cmd/
- bash tests/make_archives.sh

Expand Down

0 comments on commit f279b69

Please sign in to comment.