aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-03 02:14:04 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-03 02:14:04 +0800
commit57c6caf146a815f29b0698b8f67c827a254d7836 (patch)
treebb4b363b99657f74fc5b3d954f498a3d3ea07a20
parent0d97c3ce1322083fb9683a5afec004b2626b620a (diff)
downloadgo-tangerine-57c6caf146a815f29b0698b8f67c827a254d7836.tar.gz
go-tangerine-57c6caf146a815f29b0698b8f67c827a254d7836.tar.zst
go-tangerine-57c6caf146a815f29b0698b8f67c827a254d7836.zip
Separate Coveralls submission from coverage script
-rw-r--r--.travis.yml1
-rwxr-xr-xgocoverage.sh3
2 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 1b15e1763..d3ee1e8af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/gocoverage.sh b/gocoverage.sh
index f908a2d66..5cb2fdf08 100755
--- a/gocoverage.sh
+++ b/gocoverage.sh
@@ -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