Use vendor and build automatic build cache

This commit is contained in:
Michael Grosser 2019-03-24 14:23:32 +00:00 committed by Tim Hockin
parent 15d53f3b99
commit 57d200fca1
1 changed files with 1 additions and 1 deletions

View File

@ -19,11 +19,11 @@ set -o nounset
set -o pipefail
export CGO_ENABLED=0
export GOFLAGS="-mod=vendor"
TARGETS=$(for d in "$@"; do echo ./$d/...; done)
echo "Running tests:"
go test -i -installsuffix "static" ${TARGETS}
go test -installsuffix "static" ${TARGETS}
echo