mirror of
https://github.com/namecoin/ncdns
synced 2024-11-16 00:13:01 +00:00
Merge #102: Travis: use more Go versions with x509-signature-splice
7e25dea
Travis: use more Go versions with x509-signature-splice (JeremyRand)
Pull request description:
TODO:
- [x] Merge #101 first.
ACKs for commit 7e25de:
Tree-SHA512: 5c9057f16268a0db4e2dba02a1f5a5e248ea7bea86827a6e4cfd11523f56bb01a67b2013adebbcda674b253c81715c0031068d27d6c2d07b655d930bc18cf36f
This commit is contained in:
commit
d569a8667c
@ -1,5 +1,7 @@
|
||||
language: go
|
||||
go:
|
||||
- "1.10.x"
|
||||
- "1.11.x"
|
||||
- "1.12.5"
|
||||
- "1.12.x"
|
||||
- "1.x"
|
||||
@ -17,6 +19,13 @@ sudo: false
|
||||
|
||||
install:
|
||||
- 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 get -v -t ./...
|
||||
- env GOOS=windows GOARCH=amd64 go get -d -v -t ./...
|
||||
|
Loading…
Reference in New Issue
Block a user