lbcd/.travis.yml
Dave Collins f4fc117b66 Update TravisCI to goclean script.
- Also update to use the new container-based builds
- Add coveralls.io support
- Update build badge to use SVG
- Add badges for coverage, license, and godoc
- For now, set it to change to he v2 directory
  - This will need to be changed once the v1 code is replaced
2015-02-19 00:41:10 -06:00

20 lines
551 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" ]; 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
- go get -v github.com/mattn/goveralls
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh
after_success:
- goveralls -coverprofile=profile.cov -service=travis-ci