From 705566e74f027c8d3a6f61950c73c2e45e9486af Mon Sep 17 00:00:00 2001 From: Daniel Anglin Date: Sun, 30 Jun 2019 01:25:36 +0100 Subject: [PATCH] ci: set up CI/CD --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ba621f5 --- /dev/null +++ b/.gitlab-ci.yml @@ -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