From fff73cfe445ab8019800f4a9054a62187a204151 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Fri, 17 Jul 2020 18:20:23 +0200 Subject: [PATCH] add go 1.14 to drone.yml --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c94bedd..77aeeac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -34,8 +34,18 @@ steps: exclude: - tag - - name: go-test + - name: go-build-1.14 image: golang:1.13 + commands: + - go mod download + - CGO_ENABLED=0 go build -ldflags "-w -s" . + when: + event: + exclude: + - tag + + - name: go-test + image: golang:1.14 commands: - go test -v ./...