lbcd/.travis.yml
Josh Rickmar 316d92d613 Update Go versions for Travis.
Also use Travis' container-based build infrastructure.
2015-02-06 10:02:09 -05:00

18 lines
482 B
YAML

language: go
go:
- 1.3.3
- 1.4.1
sudo: false
before_install:
- gotools=golang.org/x/tools
- if [ "$TRAVIS_GO_VERSION" = "release" ] || [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
install:
- go get -d -t -v ./...
- go get $gotools/cmd/vet
- go get -v github.com/GeertJohan/fgt
- go get -v github.com/golang/lint/golint
script:
- export PATH=$PATH:$HOME/gopath/bin
- go vet
- fgt golint -min_confidence=0.9 .
- go test -v