Skip to content

Commit

Permalink
Fix travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvins committed Oct 9, 2017
1 parent e8fc527 commit 0bbb815
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -4,13 +4,17 @@ go:
- 1.8.x
- tip

env:
global:
- PATH=$HOME/gopath/bin:$PATH

before_install:
- go get -t ./...
- go get golang.org/x/tools/cmd/cover
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls

script:
- go test ./...
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci

0 comments on commit 0bbb815

Please sign in to comment.