2
0
mirror of https://github.com/namecoin/ncdns synced 2024-11-10 01:10:31 +00:00

Merge #129: Travis: Use old goxnet for Go 1.11.x and earlier

7e454f8b59 Travis: Use old goxnet for Go 1.11.x and earlier (Jeremy Rand)

Pull request description:

  Fixes a build fail for Darwin targets.

Top commit has no ACKs.

Tree-SHA512: e50e976add771092df3ad4d98c667a54dc6aaadb3003aeddc8d68f61a0c9b2b18e9a30f9d10e79d715b0a77561f3ff4dcb5238b16c50a1b8739a8502564d11ba
This commit is contained in:
Jeremy Rand 2020-11-22 13:53:27 +00:00
commit 6036c58ff9
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

View File

@ -39,6 +39,11 @@ install:
- if [[ "$(go version)" =~ go1.[56789] ]]; then GOXSYS_BRANCH=release-branch.go1.13; fi
- if [[ "$(go version)" =~ go1.1[01] ]]; then GOXSYS_BRANCH=release-branch.go1.13; fi
- pushd $(go env GOPATH)/src/golang.org/x/sys; git checkout $GOXSYS_BRANCH; popd
- GOXNET_BRANCH=master
# goxnet dropped support for old go stdlib
- if [[ "$(go version)" =~ go1.[56789] ]]; then GOXNET_BRANCH=release-branch.go1.12; fi
- if [[ "$(go version)" =~ go1.1[01] ]]; then GOXNET_BRANCH=release-branch.go1.12; fi
- pushd $(go env GOPATH)/src/golang.org/x/net; git checkout $GOXNET_BRANCH; popd
- go generate -v github.com/namecoin/x509-signature-splice/...
- go get -tags "$TAGS" -v -t ./...
- env GOOS=windows GOARCH=amd64 go get -tags "$TAGS" -d -v -t ./...