| 12345678910111213141516171819202122232425 | #!/bin/bashecho "mode: set" > coverall.outfail=0for dir in $(find . -maxdepth 10 -not -path './.git*' -type d);do  if ls $dir/*.go &> /dev/null; then    go test -coverprofile=coversingle.out $dir || fail=1    if [ -f coversingle.out ]    then      cat coversingle.out | grep -v "mode: set" >> coverall.out      rm coversingle.out    fi  fidoneif [ "$fail" -eq 0 ]then  $HOME/gopath/bin/goveralls -v -coverprofile=acc.out -service=travis-ci -repotoken $COVERALLS_TOKENfirm -f coverall.outexit $fail
 |