go-bouquins/.drone.yml

37 lines
548 B
YAML
Raw Normal View History

2019-09-11 13:03:12 +00:00
---
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 .
- name: lint
image: golang
commands:
- go get -u golang.org/x/lint/golint
- golint -set_exit_status ./...
- name: vet
image: golang
commands:
- go vet ./...
trigger:
event:
- push
---
kind: signature
hmac: 663682f7b45c7f2629991785fc04170d60a0232719bac11d29620882ad857277
...