test: add "mod" to build tests

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
release-3.5
Gyuho Lee 2020-05-10 14:18:43 -07:00
parent b34c0c55a5
commit 6874b9a76b
1 changed files with 2 additions and 2 deletions

4
test
View File

@ -672,8 +672,8 @@ function build_cov_pass {
# fail fast on static tests
function build_pass {
echo "Checking build..."
GO_BUILD_FLAGS="-v" etcd_build
GO_BUILD_FLAGS="-v" tools_build
GO_BUILD_FLAGS="-v -mod=mod" etcd_build
GO_BUILD_FLAGS="-v -mod=mod" tools_build
}
for pass in $PASSES; do