ci: set up CI/CD

This commit is contained in:
Dan Anglin 2019-06-30 01:25:36 +01:00
parent 4b8f584411
commit 705566e74f
No known key found for this signature in database
GPG key ID: 7AFF718EEFC9767C

25
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,25 @@
---
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