mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 09:37:25 +00:00
- 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
20 lines
551 B
YAML
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
|