From d5fd5d77c7cae12669d5dded0710bcf1182010ac Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Thu, 1 Aug 2019 01:07:15 +0200 Subject: [PATCH] Use a simple standard drone config --- .drone.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 693703d..ffb86b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,23 +8,17 @@ platform: steps: - name: vet - pull: always - image: golang:1.11 + image: golang:1.12 commands: - go vet ./... - environment: - GO111MODULE: on volumes: - name: gopath path: /go - name: test - pull: always - image: golang:1.11 + image: golang:1.12 commands: - go test -cover ./... - environment: - GO111MODULE: on volumes: - name: gopath path: /go @@ -36,5 +30,5 @@ volumes: trigger: ref: - refs/heads/master - - "refs/tags/**" - - "refs/pull/**" + - refs/tags/** + - refs/pull/**