build: use vendored packages for circle backend tests (#19708)

This commit is contained in:
Kyle Brandt 2019-10-08 12:03:23 -04:00 committed by GitHub
parent 2ac9fad603
commit 0f32e15a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,9 @@
# shellcheck source=./scripts/helpers/exit-if-fail.sh
source "$(dirname "$0")/helpers/exit-if-fail.sh"
# use vendor folder for packages
export GOFLAGS=-mod=vendor
echo "building backend with install to cache pkgs"
exit_if_fail time go install ./pkg/cmd/grafana-server