fix testing script.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
ed0999bced
commit
3e70464c7c
|
@ -30,3 +30,4 @@ bin/*
|
|||
.DS_Store
|
||||
*.cert
|
||||
*.key
|
||||
coverage.out
|
||||
|
|
|
@ -19,6 +19,6 @@ install:
|
|||
- go get github.com/mattn/goveralls
|
||||
|
||||
script:
|
||||
- go test -v -covermode=count -coverprofile=coverage.out
|
||||
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out
|
||||
- cd gopush && go test -v -covermode=count -coverprofile=coverage.out
|
||||
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=gopush/coverage.out
|
||||
-service=travis-ci -repotoken=$COVERALLS_TOKEN
|
||||
|
|
Loading…
Reference in New Issue