From 3f3aeb9dff14fa0b1d9b16feed1d8e527042d3fb Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sun, 3 Feb 2019 20:08:12 +0100 Subject: [PATCH] Backport #31 --- .drone.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8713144..6e318c0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ clone: pipeline: deps: - image: golang:1.10 + image: golang:1.11.5 pull: true environment: GOPATH: /go @@ -18,14 +18,22 @@ pipeline: - go get -u github.com/golang/dep/cmd/dep - dep ensure test: - image: golang:1.10 + image: golang:1.11.5 pull: true environment: GOPATH: /go commands: - - make test + - make test build + coverage: + image: golang:1.11.5 + pull: true + environment: + GOPATH: /go + secrets: [ coveralls_token ] + commands: + - make coverage static: - image: golang:1.10 + image: golang:1.11.5 pull: true environment: GOPATH: /go @@ -35,7 +43,7 @@ pipeline: event: [ push ] branch: [ master ] static: - image: golang:1.10 + image: golang:1.11.5 pull: true environment: GOPATH: /go @@ -97,4 +105,5 @@ pipeline: services: gitea: image: jonasfranz/gitea-service - pull: true \ No newline at end of file + pull: true +