Browse Source

Fix drone-ci.

master 0.1.0
Gisle Aune 5 years ago
parent
commit
e724eb57b5
  1. 6
      .drone.yml

6
.drone.yml

@ -8,7 +8,7 @@ steps:
image: golang:1.11
commands:
- go mod download
- CGO_ENABLED=0 go build -ldflags "-w -s" -o main.go
- CGO_ENABLED=0 go build -ldflags "-w -s" .
when:
event:
exclude:
@ -18,7 +18,7 @@ steps:
image: golang:1.12
commands:
- go mod download
- CGO_ENABLED=0 go build -ldflags "-w -s" main.go
- CGO_ENABLED=0 go build -ldflags "-w -s" .
when:
event:
exclude:
@ -28,7 +28,7 @@ steps:
image: golang:1.13
commands:
- go mod download
- CGO_ENABLED=0 go build -ldflags "-w -s" -o main.go
- CGO_ENABLED=0 go build -ldflags "-w -s" .
when:
event:
exclude:

Loading…
Cancel
Save