From d9946b8c3fdddb95f4cb7457abf163afd65bee6b Mon Sep 17 00:00:00 2001 From: telyn Date: Thu, 25 Jan 2018 11:14:03 +0000 Subject: add codeclimate job and build thegem --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07b992b..967e78e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,17 @@ stages: - package - publish +codeclimate: + image: $CI_REGISTRY/docker-images/layers:stretch-codeclimate + stage: test + tags: + - docker-socket + script: + - codeclimate analyze -f json > codeclimate.json + artifacts: + paths: [codeclimate.json] + + .test: &test image: $CI_REGISTRY/docker-images/layers:$DISTRO-ruby stage: test @@ -38,6 +49,17 @@ test:stretch: paths: - pkg/ +package:gem: + stage: package + image: $CI_REGISTRY/docker-images/layers:jessie-ruby + artifacts: + paths: + - pkg + script: + - package + variables: + GEMFILE: mauve.gemspec + package:jessie: <<: *package variables: -- cgit v1.2.1 From 246397691f55609e7ddd2d237a18465a90f80ebd Mon Sep 17 00:00:00 2001 From: telyn Date: Thu, 25 Jan 2018 11:18:35 +0000 Subject: ok i guess codeclimate can be done later --- .gitlab-ci.yml | 11 ----------- 1 file changed, 11 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 967e78e..ce3ea71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,17 +3,6 @@ stages: - package - publish -codeclimate: - image: $CI_REGISTRY/docker-images/layers:stretch-codeclimate - stage: test - tags: - - docker-socket - script: - - codeclimate analyze -f json > codeclimate.json - artifacts: - paths: [codeclimate.json] - - .test: &test image: $CI_REGISTRY/docker-images/layers:$DISTRO-ruby stage: test -- cgit v1.2.1 From 0139aa17ab739365745c3447de5634b665391a77 Mon Sep 17 00:00:00 2001 From: telyn Date: Mon, 29 Jan 2018 11:29:34 +0000 Subject: Make a minimal mauvesend gem --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce3ea71..cf424a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ package:gem: script: - package variables: - GEMFILE: mauve.gemspec + GEMFILE: mauvesend.gemspec package:jessie: <<: *package -- cgit v1.2.1