Library/.drone.yml

34 lines
621 B
YAML
Raw Normal View History

workspace:
base: /srv/app
2017-11-07 15:37:43 +00:00
path: src/git.mowie.cc/konrad/Library
pipeline:
clone:
image: plugins/git
depth: 50
tags: true
build:
image: webhippie/golang:edge
pull: true
environment:
TAGS: bindata sqlite
GOPATH: /srv/app
commands:
2017-11-07 15:29:41 +00:00
- make clean
- make lint
- 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 ]