2013-12-09 11:42:57 +01:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- release
|
|
|
|
- tip
|
2015-01-08 12:16:46 +01:00
|
|
|
sudo: false
|
|
|
|
before_install:
|
|
|
|
- gotools=golang.org/x/tools
|
|
|
|
- if [ "$TRAVIS_GO_VERSION" = "release" ]; then gotools=code.google.com/p/go.tools; fi
|
2014-09-16 14:21:34 +02:00
|
|
|
install:
|
|
|
|
- go get -d -t -v ./...
|
2015-01-08 12:16:46 +01:00
|
|
|
- go get -v $gotools/cmd/cover
|
|
|
|
- go get -v $gotools/cmd/vet
|
|
|
|
- go get -v github.com/bradfitz/goimports
|
2014-09-16 14:21:34 +02:00
|
|
|
- go get -v github.com/golang/lint/golint
|
|
|
|
script:
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
2015-01-08 12:16:46 +01:00
|
|
|
- ./goclean.sh
|