aboutsummaryrefslogtreecommitdiffstats
path: root/gocoverage.sh
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-20 18:55:13 +0800
committerFelix Lange <fjl@twurst.com>2015-02-20 18:55:26 +0800
commit66abe2e3d43c1004630c0c2f52a7f427bd51293b (patch)
tree08ad7bb288d4c6680cf424bed18a68040f7103b9 /gocoverage.sh
parentb3b6210886abd0962f97add91c081ac732639102 (diff)
downloadgo-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar.gz
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar.bz2
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar.lz
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar.xz
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.tar.zst
go-tangerine-66abe2e3d43c1004630c0c2f52a7f427bd51293b.zip
gocoverage.sh: skip .
This is an attempt to get Travis working again.
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-xgocoverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gocoverage.sh b/gocoverage.sh
index 4245e3901..d353bd08a 100755
--- a/gocoverage.sh
+++ b/gocoverage.sh
@@ -13,7 +13,7 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d)
do
if ls $dir/*.go &> /dev/null; then
# echo $dir
- if [[ $dir != "./tests/vm" ]]
+ if [[ $dir != "./tests/vm" && $dir != "." ]]
then
go test -covermode=count -coverprofile=$dir/profile.tmp $dir
fi