aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneonxp <i@neonxp.dev>2022-08-03 01:13:58 +0300
committerneonxp <i@neonxp.dev>2022-08-03 01:13:58 +0300
commit609a8002d1f6619b9b66b287aa9db46378904666 (patch)
tree5fa3372fc00b3b2eedf032226e4c67f2e20000c2
parent6c0acb15d1253ae54a0b995ca2cdac98dbdfa176 (diff)
Изменил(а) на '.drone.yml'
-rw-r--r--.drone.yml25
1 files changed, 13 insertions, 12 deletions
diff --git a/.drone.yml b/.drone.yml
index 67ce4b8..0b55c56 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,13 +1,14 @@
-build:
- image: golang:1.18.5
- environment:
- - GOOS=linux
- - GOARCH=amd64
- - CGO_ENABLED=0
- commands:
- - go test -cover -coverprofile coverage.out
+---
+kind: pipeline
+type: docker
+name: linux-amd64
-publish:
- coverage:
- when:
- branch: master \ No newline at end of file
+platform:
+ arch: amd64
+ os: linux
+
+steps:
+ - name: test
+ image: golang:1.14.15
+ commands:
+ - go test ./...