mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-31 17:31:30 +00:00
Fix TravisCI build for Go release version.
This commit is contained in:
parent
7214218925
commit
39d758c2c3
1 changed files with 4 additions and 1 deletions
|
@ -3,9 +3,12 @@ go:
|
||||||
- 1.3
|
- 1.3
|
||||||
- release
|
- release
|
||||||
- tip
|
- tip
|
||||||
|
before_install:
|
||||||
|
- gotools=golang.org/x/tools
|
||||||
|
- if [ "$TRAVIS_GO_VERSION" = "release" ] || [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
|
||||||
install:
|
install:
|
||||||
- go get -d -t -v ./...
|
- go get -d -t -v ./...
|
||||||
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then go get -v code.google.com/p/go.tools/cmd/vet; else go get -v golang.org/x/tools/cmd/vet; fi
|
- go get $gotools/cmd/vet
|
||||||
- go get -v github.com/GeertJohan/fgt
|
- go get -v github.com/GeertJohan/fgt
|
||||||
- go get -v github.com/golang/lint/golint
|
- go get -v github.com/golang/lint/golint
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Reference in a new issue