17 lines
350 B
YAML
17 lines
350 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
|
|
steps:
|
|
- name: test
|
|
image: fat0troll/tdlib-golangci
|
|
commands:
|
|
- 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
|
|
environment:
|
|
GOFLAGS: -mod=vendor |