diff options
-rw-r--r-- | .drone.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..67ce4b8 --- /dev/null +++ b/.drone.yml @@ -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
\ No newline at end of file |