28 lines
483 B
YAML
28 lines
483 B
YAML
|
#
|
||
|
# Build config for ThirdMartini go-builder
|
||
|
#
|
||
|
gobuild.version.required: 1.0
|
||
|
gobuild.work.dir: build
|
||
|
|
||
|
properties:
|
||
|
version: git rev-parse --short=12 HEAD
|
||
|
|
||
|
jobs:
|
||
|
#
|
||
|
# Format source code
|
||
|
format:
|
||
|
- name: Format source code
|
||
|
type: golang
|
||
|
source: git.thirdmartini.com/pub/snap/...
|
||
|
options:
|
||
|
flags:
|
||
|
|
||
|
#
|
||
|
# Run some tests
|
||
|
test:
|
||
|
- name: Running unit tests
|
||
|
type: golang
|
||
|
source: git.thirdmartini.com/pub/snap/...
|
||
|
options:
|
||
|
flags:
|