summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-09-15 19:51:47 +1000
committerJesse Duffield <jessedduffield@gmail.com>2019-09-15 21:16:19 +1000
commit6eff139c403b1abd71b6a5233f3f1b5bb594a10f (patch)
tree21dc581d3ab232add6ea857972da085be2edc545
parent07462303abbd88af9f29c5ab0d650eb059ae7675 (diff)
use vendor directory in test.sh
-rwxr-xr-xtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 0a412bac0..0a8d91e85 100755
--- a/test.sh
+++ b/test.sh
@@ -3,6 +3,8 @@
set -e
echo "" > coverage.txt
+export GOFLAGS=-mod=vendor
+
use_go_test=false
if command -v gotest; then
use_go_test=true