Update .travis.yml

This commit is contained in:
Liang Ding 2014-12-20 18:34:10 +08:00
parent ae34fa162d
commit 21f1c086af
1 changed files with 6 additions and 6 deletions

View File

@ -2,10 +2,10 @@ language: go
go:
- 1.4
install:
- go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls github.com/modocache/gover
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs sh -c
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb
- ./clean.sh
- $HOME/gopath/bin/goveralls -repotoken W04Y4p452CDeI9gcsC8t5y217uHnUDFCb