Added drone
Signed-off-by: kolaente <konrad@kola-entertainments.de>
This commit is contained in:
parent
c48243579f
commit
f86050f5d4
|
@ -0,0 +1,32 @@
|
||||||
|
workspace:
|
||||||
|
base: /srv/app
|
||||||
|
path: src/git.mowie.cc/konrad/Konfi-Castle-Kasino
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
clone:
|
||||||
|
image: plugins/git
|
||||||
|
depth: 50
|
||||||
|
tags: true
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: webhippie/golang:edge
|
||||||
|
pull: true
|
||||||
|
environment:
|
||||||
|
TAGS: bindata sqlite
|
||||||
|
GOPATH: /srv/app
|
||||||
|
commands:
|
||||||
|
- make fmt-check
|
||||||
|
- make build
|
||||||
|
when:
|
||||||
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
|
# static:
|
||||||
|
# image: karalabe/xgo-latest:latest
|
||||||
|
# pull: true
|
||||||
|
# environment:
|
||||||
|
# TAGS: bindata sqlite
|
||||||
|
# GOPATH: /srv/app
|
||||||
|
# commands:
|
||||||
|
# - make release
|
||||||
|
# when:
|
||||||
|
# event: [ push, tag ]
|
Loading…
Reference in New Issue