fix testing report.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
96eb62f47a
commit
ac71f41f45
|
@ -31,7 +31,7 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make coverage
|
- make coverage
|
||||||
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.txt
|
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=.cover/coverage.txt
|
||||||
-service=travis-ci -repotoken=$COVERALLS_TOKEN
|
-service=travis-ci -repotoken=$COVERALLS_TOKEN
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|
|
@ -24,6 +24,7 @@ func PrintGoRushVersion() {
|
||||||
version,
|
version,
|
||||||
runtime.Compiler,
|
runtime.Compiler,
|
||||||
runtime.Version())
|
runtime.Version())
|
||||||
|
fmt.Println()
|
||||||
}
|
}
|
||||||
|
|
||||||
// VersionMiddleware : add version on header.
|
// VersionMiddleware : add version on header.
|
||||||
|
|
Loading…
Reference in New Issue