mirror of
https://github.com/maride/pancap.git
synced 2024-12-23 04:37:29 +00:00
drone ci file
This commit is contained in:
parent
b396827c1f
commit
3efacd5453
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:latest
|
||||||
|
commands:
|
||||||
|
- go test -cover -v .
|
||||||
|
|
||||||
|
- name: coverage
|
||||||
|
image: golang:latest
|
||||||
|
commands:
|
||||||
|
- go test -coverprofile=cover.out
|
||||||
|
- go tool cover -func=cover.out
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image: golang:latest
|
||||||
|
commands:
|
||||||
|
- go build .
|
Loading…
Reference in New Issue
Block a user