29 lines
436 B
YAML
29 lines
436 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
image: golang
|
|
environment:
|
|
CGO_ENABLED: 1
|
|
GOOS: linux
|
|
commands:
|
|
- go test ./...
|
|
- go build -a -installsuffix cgo .
|
|
- go get -u golang.org/x/lint/golint
|
|
- golint ./...
|
|
- go vet ./...
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: 1f806dbba17f4e6c32fce277cff2ad97f15098472d64fb564191f256cf9c2d5e
|
|
|
|
...
|