report coverage to codacy using travis and godacov
This commit is contained in:
parent
ccc1c8e19a
commit
7e8a3e7e65
|
@ -6,8 +6,10 @@ go:
|
|||
|
||||
install:
|
||||
- go get -u github.com/golang/dep/cmd/dep
|
||||
- go get github.com/schrej/godacov
|
||||
- dep ensure
|
||||
|
||||
script:
|
||||
- go build -o wings
|
||||
- go test
|
||||
- go test -coverprofile=coverage.out
|
||||
- godacov -t $CODACY_TOKEN -r ./coverage.out -c $TRAVIS_COMMIT
|
||||
|
|
Loading…
Reference in New Issue
Block a user