This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-10-08 05:45:02 +04:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2019-10-08 09:15:47 +04:00
|
|
|
name: build
|
2019-10-08 05:45:02 +04:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: fat0troll/tdlib-golangci
|
|
|
|
commands:
|
2019-10-08 05:56:10 +04:00
|
|
|
- go test -test.v -cover `go list ./... | grep -v examples | grep -v internal`
|
|
|
|
environment:
|
2019-10-08 05:59:48 +04:00
|
|
|
GOFLAGS: -mod=vendor
|
2019-10-08 05:45:02 +04:00
|
|
|
- name: lint
|
|
|
|
image: fat0troll/tdlib-golangci
|
|
|
|
commands:
|
2019-10-08 05:56:10 +04:00
|
|
|
- golangci-lint -v run
|
|
|
|
environment:
|
2019-10-08 06:17:07 +04:00
|
|
|
GOFLAGS: -mod=vendor
|
|
|
|
- name: build
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: registry_user
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
repo: fat0troll/fwzookeeper_helper
|
2019-10-08 09:15:47 +04:00
|
|
|
auto_tag: true
|