1
Fork 0

Use GOFLAGS for vendoring params

master
Vladimir Hodakov 2019-10-08 05:56:10 +04:00
parent 2ee457f768
commit 32b9ab8019
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
1 changed files with 6 additions and 2 deletions

View File

@ -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
- golangci-lint -v run
environment:
- GOFLAGS=-mod=vendor