From 32b9ab8019e3ce380080083ea18577026cd5be5c Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Tue, 8 Oct 2019 05:56:10 +0400 Subject: [PATCH] Use GOFLAGS for vendoring params --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0840f3d..294f116 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,12 @@ steps: - name: test image: fat0troll/tdlib-golangci commands: - - go test -mod=vendor -test.v -cover `go list ./... | grep -v examples | grep -v internal` + - go test -test.v -cover `go list ./... | grep -v examples | grep -v internal` + environment: + - GOFLAGS=-mod=vendor - name: lint image: fat0troll/tdlib-golangci commands: - - golangci-lint -v run \ No newline at end of file + - golangci-lint -v run + environment: + - GOFLAGS=-mod=vendor \ No newline at end of file