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