aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-12-11 11:42:13 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-12-11 10:42:13 +0100
commitb82519cadc792d5e6a82b17ac6e2340ce3383a75 (patch)
tree3ac703fee8983e5892dabc47a9841cffc8946344 /.drone.yml
parent956354885a60abe82ac608e764fcb56d4016339e (diff)
downloadgitea-b82519cadc792d5e6a82b17ac6e2340ce3383a75.tar.gz
gitea-b82519cadc792d5e6a82b17ac6e2340ce3383a75.zip
Move build without gcc step up so that it's binary is not used in docker (#3147)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.drone.yml b/.drone.yml
index e9e30d3230..f60a20f02d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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