25 lines
288 B
YAML
25 lines
288 B
YAML
---
|
|
image: golang:1.12.6
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
#- release
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- make test
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- make build
|
|
artifacts:
|
|
expire_in: 1 hour
|
|
name: "pominal-$CI_COMMIT_REF_SLUG"
|
|
paths:
|
|
- bin/pominal
|
|
only:
|
|
refs:
|
|
- master
|