aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneonxp <i@neonxp.dev>2022-08-03 01:10:12 +0300
committerneonxp <i@neonxp.dev>2022-08-03 01:10:12 +0300
commit6c0acb15d1253ae54a0b995ca2cdac98dbdfa176 (patch)
tree287e554b954b6602763b17a0745aaf704284daae
parent37dd20244a30b7bea0ca467fccffd5d06f2221d6 (diff)
Drone CI
-rw-r--r--.drone.yml13
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