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

Travis: use more Go versions with x509-signature-splice

In theory we could use older Go versions as well, but current miekg/dns
doesn't support them anymore.
This commit is contained in:
JeremyRand 2019-07-23 16:24:52 +00:00
parent 13500dbc55
commit 7e25deafa8
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

View File

@ -1,5 +1,7 @@
language: go language: go
go: go:
- "1.10.x"
- "1.11.x"
- "1.12.5" - "1.12.5"
- "1.12.x" - "1.12.x"
- "1.x" - "1.x"
@ -17,6 +19,13 @@ sudo: false
install: install:
- go get -d -v -t ./... - go get -d -v -t ./...
- X509_BRANCH=master
- if [[ "$(go version)" =~ go1.[5678] ]]; then X509_BRANCH=go1.6; fi
- if [[ "$(go version)" =~ go1.9 ]]; then X509_BRANCH=go1.9; fi
- if [[ "$(go version)" =~ go1.10 ]]; then X509_BRANCH=go1.10; fi
- if [[ "$(go version)" =~ go1.11 ]]; then X509_BRANCH=go1.11; fi
- if [[ "$(go version)" =~ go1.12 ]]; then X509_BRANCH=go1.12; fi
- pushd $(go env GOPATH)/src/github.com/namecoin/x509-signature-splice; git checkout $X509_BRANCH; popd
- go generate -v github.com/namecoin/x509-signature-splice/... - go generate -v github.com/namecoin/x509-signature-splice/...
- go get -v -t ./... - go get -v -t ./...
- env GOOS=windows GOARCH=amd64 go get -d -v -t ./... - env GOOS=windows GOARCH=amd64 go get -d -v -t ./...