gocoverage.sh: skip .

This is an attempt to get Travis working again.
This commit is contained in:
Felix Lange 2015-02-20 11:55:13 +01:00
parent b3b6210886
commit 66abe2e3d4

View File

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