mirror of
https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git
synced 2024-11-14 14:08:12 +00:00
11 lines
218 B
Bash
11 lines
218 B
Bash
|
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
|