From 2ff94fd708fbe3d61276fc57a5cbe3105b429975 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Sat, 17 Feb 2018 23:40:20 +0000 Subject: [PATCH] setting up coverage as part of gitlab pages --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 457f1c1f..63546dd3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,21 +8,45 @@ before_script: - docker-compose --version test_ruby21: + stage: test script: ./spec.sh ruby 2.1 test_ruby22: + stage: test script: ./spec.sh ruby 2.2 test_ruby23: + stage: test script: ./spec.sh ruby 2.3 test_ruby24: + stage: test script: ./spec.sh ruby 2.4 test_ruby25: + stage: test script: ./spec.sh ruby 2.5 + artifacts: + paths: + - coverage/ test_jruby: + stage: test script: ./spec.sh jruby 9.0.0.0 allow_failure: true + +pages: + stage: deploy + dependencies: + - test_ruby25 + script: + - mv coverage/ public/ + artifacts: + paths: + - public + expire_in: 30 days + only: + - master + +