This commit corrects various things found by the static checkers (comments, unkeyed fields, return after some if/else). Add generated files and legacy files to the whitelist to be ignored. Catch .travis.yml up with btcd so goclean can be run.
16 lines
345 B
YAML
16 lines
345 B
YAML
language: go
|
|
go:
|
|
- 1.5.3
|
|
- 1.6
|
|
sudo: false
|
|
before_install:
|
|
- gotools=golang.org/x/tools
|
|
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
|