28 lines
417 B
YAML
28 lines
417 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 github.com/golang/lint/golint
|
|
- golint ./...
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
---
|
|
kind: signature
|
|
hmac: a295e2f0c4e9d6b094b85ce7d8288ff94e6380c5d901aedcc4f71d08f0d691b2
|
|
|
|
...
|