Separate Coveralls submission from coverage script

This commit is contained in:
Taylor Gerring 2015-02-02 12:14:04 -06:00
parent 0d97c3ce13
commit 57c6caf146
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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