mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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
|