Fix drone build caused by golang regression

remotes/1698823321490190475/tmp_refs/heads/update-golang
Jonas Franz 5 years ago
parent 7503f4a9e2
commit 4ddce913fb
  1. 16
      .drone.yml

@ -10,26 +10,24 @@ clone:
pipeline:
deps:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go
commands:
- apk --no-cache add git
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go get -u github.com/gobuffalo/packr/...
- packr -z
test:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go
commands:
- apk --no-cache add make git gcc
- make test build
coverage:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go
@ -37,28 +35,26 @@ pipeline:
commands:
- make coverage
static:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go
commands:
- apk --no-cache add make git gcc
- make generate-release-file release
when:
event: [ push ]
branch: [ master ]
static:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go
commands:
- apk --no-cache add make git gcc
- make generate-release-file release
when:
event: [ tag ]
clean:
image: golang:1.11.2-alpine
image: golang:1.11.2
pull: true
environment:
GOPATH: /go

Loading…
Cancel
Save