This commit is contained in:
parent
1efae19b69
commit
798c5b4e12
10
.drone.yml
10
.drone.yml
@ -4,11 +4,6 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
|
||||||
image: golang
|
|
||||||
commands:
|
|
||||||
- go get
|
|
||||||
- go test ./...
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
@ -16,7 +11,10 @@ steps:
|
|||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
commands:
|
commands:
|
||||||
|
- go test ./...
|
||||||
- go build -a -installsuffix cgo .
|
- go build -a -installsuffix cgo .
|
||||||
|
- go get github.com/golang/lint/golint
|
||||||
|
- golint ./...
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
@ -24,6 +22,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 2d623082fddfc811a5f7527f8220477d288dd62dd6fa0ca1d66ca64d3f41b929
|
hmac: a295e2f0c4e9d6b094b85ce7d8288ff94e6380c5d901aedcc4f71d08f0d691b2
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user