mirror of
https://github.com/namecoin/ncdns
synced 2024-11-11 19:10:43 +00:00
Travis: Use old goxnet for Go 1.11.x and earlier
Fixes a build fail for Darwin targets
This commit is contained in:
parent
ca0fe55528
commit
7e454f8b59
@ -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…
Reference in New Issue
Block a user