Sha256: fcbb3264d38f28a8b6bf57d31cd124c8305f2dc47bb4a68a5a25678a30cf8f1c

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

stages:
  - test
  - deploy

.default:
  variables:
    BUNDLE_CACHE: "vendor/bundle/"

  cache:
    key: "$CI_BUILD_NAME"
    paths:
      - vendor/bundle/

  before_script:
    - ./gitlab-ci/setup.sh

  stage: test

test:
  extends: .default

  image: $IMAGE

  script:
    - bundle exec rspec

  coverage: '/LOC \(([\d.]+)%\) covered/'

  artifacts:
    reports:
      coverage_report:
        coverage_format: cobertura
        path: coverage/coverage.xml

  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

  parallel:
    matrix:
      - IMAGE:
          - ruby:2.1
          - ruby:2.2
          - ruby:2.3
          - ruby:2.4
          - ruby:2.5
          - ruby:2.6
          - ruby:2.7
          - ruby:3.0
          - ruby:3.1
          - ruby:3.2
          - ruby:3.3
          - ruby:3.4

pages:
  extends: .default
  image: ruby

  stage: deploy

  script:
    - bundle exec yard
  artifacts:
    paths:
    - public
  only:
    - master
  except:
    - tags

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab_awesome_release-1.1.1 .gitlab-ci.yml