aboutsummaryrefslogblamecommitdiffhomepage
path: root/vendor/github.com/agext/levenshtein/test.sh
blob: c5ed72466fed4f94a36c902ef0ca3530f76b3c73 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                     
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