diff options
author | neonxp <i@neonxp.dev> | 2022-08-03 01:10:12 +0300 |
---|---|---|
committer | neonxp <i@neonxp.dev> | 2022-08-03 01:10:12 +0300 |
commit | 6c0acb15d1253ae54a0b995ca2cdac98dbdfa176 (patch) | |
tree | 287e554b954b6602763b17a0745aaf704284daae | |
parent | 37dd20244a30b7bea0ca467fccffd5d06f2221d6 (diff) |
Drone CI
-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 |