aboutsummaryrefslogtreecommitdiffstats
path: root/gocoverage.sh
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-02 17:30:27 +0800
committerobscuren <geffobscura@gmail.com>2015-01-02 17:30:27 +0800
commit0fb1bcd32192b8bf05a328b955a08da4cefe0180 (patch)
tree67460b927eb41b2876e8e6b7eb9dece494dbd088 /gocoverage.sh
parent8da07e91e40c1d1bb43763b7e959ae92e5770af2 (diff)
parenta4dc12f12c7a06f5e28d5b1e760249875ef7a8c5 (diff)
downloaddexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar.gz
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar.bz2
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar.lz
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar.xz
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.tar.zst
dexon-0fb1bcd32192b8bf05a328b955a08da4cefe0180.zip
Merge branch 'poc8' into docbranch
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-xgocoverage.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/gocoverage.sh b/gocoverage.sh
index 35038108b..24c8e9280 100755
--- a/gocoverage.sh
+++ b/gocoverage.sh
@@ -13,7 +13,10 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d)
do
if ls $dir/*.go &> /dev/null; then
# echo $dir
- go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+ if [[ $dir != "./tests/vm" ]]
+ then
+ go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+ fi
if [ -f $dir/profile.tmp ]
then
cat $dir/profile.tmp | tail -n +2 >> profile.cov
@@ -26,4 +29,4 @@ 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
+goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN