terraform-provider-gitea/vendor/github.com/agext/levenshtein/test.sh

11 lines
218 B
Bash
Raw Normal View History

2022-04-03 04:07:16 +00:00
set -ev
if [[ "$1" == "goveralls" ]]; then
echo "Testing with goveralls..."
go get github.com/mattn/goveralls
$HOME/gopath/bin/goveralls -service=travis-ci
else
echo "Testing with go test..."
go test -v ./...
fi