Drone CI
This commit is contained in:
parent
37dd20244a
commit
6c0acb15d1
1 changed files with 13 additions and 0 deletions
13
.drone.yml
Normal file
13
.drone.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
build:
|
||||
image: golang:1.18.5
|
||||
environment:
|
||||
- GOOS=linux
|
||||
- GOARCH=amd64
|
||||
- CGO_ENABLED=0
|
||||
commands:
|
||||
- go test -cover -coverprofile coverage.out
|
||||
|
||||
publish:
|
||||
coverage:
|
||||
when:
|
||||
branch: master
|
Loading…
Reference in a new issue