go-bouquins/.drone.yml

31 lines
485 B
YAML
Raw Normal View History

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:57:05 +00:00
- go get golang.org/x/lint
2019-09-11 14:36:57 +00:00
- echo $$GOPATH
- ls $$GOPATH/bin
- $$GOPATH/bin/golint ./...
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 14:36:57 +00:00
hmac: ff5dbe260d6c5788c28fad09cb0bf774af3d682a74aaa47451f6b0f3c6581960
2019-09-11 13:03:12 +00:00
...