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 15:01:09 +00:00
|
|
|
- go get -u golang.org/x/lint/golint
|
2019-09-11 15:09:08 +00:00
|
|
|
- golint -set_exit_status ./...
|
2019-09-11 14:30:47 +00:00
|
|
|
- go vet ./...
|
2019-09-11 13:03:12 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2019-09-11 15:09:08 +00:00
|
|
|
hmac: 3f905d0f23f11cd24d48660dc042a491ec7c1dd846ea76615bb867df2008cc46
|
2019-09-11 13:03:12 +00:00
|
|
|
|
|
|
|
...
|