gofmt testing

- more verbose on intended tests
This commit is contained in:
Shlomi Noach 2016-10-27 20:37:03 +02:00
parent b7e20b08da
commit 40b1d9a319

View File

@ -4,9 +4,14 @@ set -e
. script/bootstrap
echo "Verifying code is formatted via 'gofmt -s -w go/'"
gofmt -s -w go/
git diff --exit-code --quiet
echo "Building"
script/build
export GITBACKUPS_ENV=test
cd .gopath/src/github.com/github/gh-ost
echo "Running unit tests"
go test ./go/...