Skip to content

Commit

Permalink
Move build without gcc step up so that it's binary is not used in doc…
Browse files Browse the repository at this point in the history
…ker (#3147)
  • Loading branch information
lafriks authored and bkcsoft committed Dec 11, 2017
1 parent 9563548 commit b82519c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b82519c

Please sign in to comment.