This commit is contained in:
parent
05da68f833
commit
14f2459bd5
10
.drone.yml
10
.drone.yml
@ -4,14 +4,18 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go test ./...
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
commands:
|
commands:
|
||||||
- go build -a -installsuffix cgo -o app .
|
- go build
|
||||||
- go test
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
@ -19,6 +23,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: c2c85efbea280e4aedbd78ebc249f61ac8928438ca61af8f7bd5779d153781ad
|
hmac: 0c10eea731519ad456e14a142ae8cd0f769cd2ccbe252b7e56cae5b97d8550ff
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user