mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-28 16:01:27 +00:00
Update TravisCI to goclean script.
Also, update to use the new container-based builds.
This commit is contained in:
parent
3eeb51ab54
commit
2f74570188
1 changed files with 8 additions and 8 deletions
16
.travis.yml
16
.travis.yml
|
@ -2,17 +2,17 @@ language: go
|
||||||
go:
|
go:
|
||||||
- release
|
- release
|
||||||
- tip
|
- tip
|
||||||
|
sudo: false
|
||||||
|
before_install:
|
||||||
|
- gocleandeps=c16c849abae90c23419d
|
||||||
|
- git clone https://gist.github.com/$gocleandeps.git
|
||||||
|
- goclean=71d0380287747d956a26
|
||||||
|
- git clone https://gist.github.com/$goclean.git
|
||||||
install:
|
install:
|
||||||
- go get -d -t -v ./...
|
- go get -d -t -v ./...
|
||||||
- go get -v code.google.com/p/go.tools/cmd/cover
|
- bash $gocleandeps/gocleandeps.sh
|
||||||
- go get -v code.google.com/p/go.tools/cmd/vet
|
|
||||||
- go get -v github.com/GeertJohan/fgt
|
|
||||||
- go get -v github.com/golang/lint/golint
|
|
||||||
script:
|
script:
|
||||||
- export PATH=$PATH:$HOME/gopath/bin
|
- export PATH=$PATH:$HOME/gopath/bin
|
||||||
- go vet
|
- bash $goclean/goclean.sh
|
||||||
- fgt golint .
|
|
||||||
- go test -v -covermode=count -coverprofile=profile.cov
|
|
||||||
after_success:
|
after_success:
|
||||||
- go get -v github.com/mattn/goveralls
|
|
||||||
- goveralls -coverprofile=profile.cov -service=travis-ci
|
- goveralls -coverprofile=profile.cov -service=travis-ci
|
||||||
|
|
Loading…
Add table
Reference in a new issue