mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-07 07:19:37 -05:00
10 lines
218 B
Bash
10 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
|