提交 57c6caf1 编写于 作者: T Taylor Gerring

Separate Coveralls submission from coverage script

上级 0d97c3ce
......@@ -21,6 +21,7 @@ before_script:
# - go test -race ./...
script:
- ./gocoverage.sh
- if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
env:
global:
- PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig
......
......@@ -27,6 +27,3 @@ done
$GOROOT/bin/go tool cover -func profile.cov
# To submit the test coverage result to coveralls.io,
# use goveralls (https://github.com/mattn/goveralls)
goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册