Fix drone build caused by golang regression

master
Jonas Franz 5 years ago
parent 7503f4a9e2
commit 4ddce913fb
  1. 16
      .drone.yml

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

Loading…
Cancel
Save