Skip main in tests for meaningful cover stats
This commit is contained in:
parent
805c7dd2cf
commit
3154c686e0
@ -11,5 +11,5 @@ before_install:
|
||||
script:
|
||||
- go vet
|
||||
- golint -set_exit_status
|
||||
- go test -race -v
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci
|
||||
- go test -race -v -tags test -covermode=atomic -coverprofile=profile.cov
|
||||
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user