2019-09-11 13:03:12 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2019-09-11 13:23:40 +00:00
|
|
|
|
2019-09-11 13:03:12 +00:00
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 1
|
|
|
|
GOOS: linux
|
|
|
|
commands:
|
2019-09-11 13:52:45 +00:00
|
|
|
- go test ./...
|
2019-09-11 13:44:59 +00:00
|
|
|
- go build -a -installsuffix cgo .
|
2019-09-11 13:52:45 +00:00
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
- golint ./...
|
2019-09-11 13:03:12 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2019-09-11 13:52:45 +00:00
|
|
|
hmac: a295e2f0c4e9d6b094b85ce7d8288ff94e6380c5d901aedcc4f71d08f0d691b2
|
2019-09-11 13:03:12 +00:00
|
|
|
|
|
|
|
...
|