2013-12-09 03:35:56 +01:00
|
|
|
language: go
|
2013-12-09 04:11:54 +01:00
|
|
|
go:
|
2015-02-05 20:19:27 +01:00
|
|
|
- 1.3.3
|
2015-02-27 19:28:06 +01:00
|
|
|
- 1.4.2
|
2015-01-31 05:08:53 +01:00
|
|
|
sudo: false
|
|
|
|
before_install:
|
|
|
|
- gotools=golang.org/x/tools
|
2015-02-05 20:19:27 +01:00
|
|
|
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
|
2015-01-31 05:08:53 +01:00
|
|
|
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
|