|
|
@ -6,6 +6,8 @@ env: |
|
|
- COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR |
|
|
- COVERALLS_TOKEN=lhWzILT1WMRgrHXsEhauQOGsoby1nm7DR |
|
|
script: |
|
|
script: |
|
|
- go get golang.org/x/tools/cmd/cover |
|
|
- go get golang.org/x/tools/cmd/cover |
|
|
|
|
|
- go get github.com/modocache/gover |
|
|
- go get github.com/mattn/goveralls |
|
|
- go get github.com/mattn/goveralls |
|
|
- go test -v -covermode=count -coverprofile=coverage.out ./... |
|
|
- go test -v ./... |
|
|
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN |
|
|
- gover |
|
|
|
|
|
- goveralls -coverprofile=gover.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN |