Added drone

Signed-off-by: kolaente <konrad@kola-entertainments.de>
This commit is contained in:
konrad 2017-11-07 16:23:30 +01:00 committed by kolaente
parent c48243579f
commit f86050f5d4
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 32 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -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 ]