Use vendor and build automatic build cache
This commit is contained in:
parent
15d53f3b99
commit
57d200fca1
|
|
@ -19,11 +19,11 @@ set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
export GOFLAGS="-mod=vendor"
|
||||||
|
|
||||||
TARGETS=$(for d in "$@"; do echo ./$d/...; done)
|
TARGETS=$(for d in "$@"; do echo ./$d/...; done)
|
||||||
|
|
||||||
echo "Running tests:"
|
echo "Running tests:"
|
||||||
go test -i -installsuffix "static" ${TARGETS}
|
|
||||||
go test -installsuffix "static" ${TARGETS}
|
go test -installsuffix "static" ${TARGETS}
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue