Browse Source

Move build without gcc step up so that it's binary is not used in docker (#3147)

tags/v1.4.0-rc1
Lauris BH Kim "BKC" Carlbäcker 7 years ago
parent
commit
b1376d21a4
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      .drone.yml

+ 10
- 10
.drone.yml View File

@@ -55,6 +55,16 @@ pipeline:
when:
event: [ push, tag, pull_request ]

build-without-gcc:
image: webhippie/golang:edge
pull: true
environment:
GOPATH: /srv/app
commands:
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
when:
event: [ push, tag, pull_request ]

build:
image: webhippie/golang:edge
pull: true
@@ -73,16 +83,6 @@ pipeline:
when:
event: [ push, tag, pull_request ]

build-without-gcc:
image: webhippie/golang:edge
pull: true
environment:
GOPATH: /srv/app
commands:
- go build # test if build succeeds without the sqlite tag
when:
event: [ push, tag, pull_request ]

test:
image: webhippie/golang:edge
pull: true


Loading…
Cancel
Save