aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ./...