Update .travis.yml
This commit is contained in:
parent
ae34fa162d
commit
21f1c086af
12
.travis.yml
12
.travis.yml
|
@ -2,10 +2,10 @@ language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.4
|
- 1.4
|
||||||
install:
|
before_install:
|
||||||
- go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover
|
- go get github.com/axw/gocov/gocov
|
||||||
|
- go get github.com/mattn/goveralls
|
||||||
|
- go get golang.org/x/tools/cmd/cover
|
||||||
script:
|
script:
|
||||||
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs sh -c
|
- ./clean.sh
|
||||||
- gover
|
- $HOME/gopath/bin/goveralls -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb
|
||||||
- goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb
|
|
||||||
|
|
Loading…
Reference in New Issue