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 ./...