52bb44a147
Now that Go 1.6 has been released, remove the old Go versions from the configurations tested by TravisCI and add the latest point releases.
20 lines
549 B
YAML
20 lines
549 B
YAML
language: go
|
|
go:
|
|
- 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
|
|
after_success:
|
|
- go get -v github.com/mattn/goveralls
|
|
- goveralls -coverprofile=profile.cov -service=travis-ci
|