mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 22:47:01 +01:00
Now that Go 1.6 has been released, update the required Go version in the README to 1.5 and add Go 1.6 to the configurations tested by TravisCI. Also, while here, update the Go 1.4 and 1.5 versions tested by TravisCI to the latest point releases.
18 lines
444 B
YAML
18 lines
444 B
YAML
language: go
|
|
go:
|
|
- 1.4.3
|
|
- 1.5.3
|
|
- 1.6
|
|
sudo: false
|
|
before_install:
|
|
- gotools=golang.org/x/tools
|
|
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
|
|
install:
|
|
- go get -d -t -v ./...
|
|
- go get -v $gotools/cmd/cover
|
|
- go get -v $gotools/cmd/vet
|
|
- go get -v github.com/bradfitz/goimports
|
|
- go get -v github.com/golang/lint/golint
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- ./goclean.sh
|