summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml27
1 files changed, 18 insertions, 9 deletions
diff --git a/.drone.yml b/.drone.yml
index e6ec2b5733..70b59828ff 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -11,8 +11,7 @@ pipeline:
image: webhippie/golang:edge
pull: true
environment:
- CGO_ENABLED: 1
- TAGS: sqlite bindata
+ TAGS: bindata sqlite
GOPATH: /srv/app
commands:
- apk -U add openssh-client
@@ -29,8 +28,7 @@ pipeline:
image: webhippie/golang:edge
pull: true
environment:
- CGO_ENABLED: 1
- TAGS: sqlite bindata
+ TAGS: bindata
GOPATH: /srv/app
commands:
- make test-mysql
@@ -41,20 +39,31 @@ pipeline:
image: webhippie/golang:edge
pull: true
environment:
- CGO_ENABLED: 1
- TAGS: sqlite bindata
+ TAGS: bindata
GOPATH: /srv/app
commands:
- make test-pgsql
when:
event: [ push, tag, pull_request ]
- updater:
+ static:
image: karalabe/xgo-latest:latest
pull: true
environment:
- CGO_ENABLED: 1
- TAGS: sqlite bindata
+ TAGS: bindata
+ FLAVOR: static
+ GOPATH: /srv/app
+ commands:
+ - make release
+ when:
+ event: [ push, tag, pull_request ]
+
+ sqlite:
+ image: karalabe/xgo-latest:latest
+ pull: true
+ environment:
+ TAGS: bindata sqlite
+ FLAVOR: sqlite
GOPATH: /srv/app
commands:
- make release