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
pull/128/head
Jeremy Rand 3 years ago
commit 6036c58ff9
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

@ -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 ./...

Loading…
Cancel
Save