Sha256: 5dd5b2fa023f9d3eceecd0694caa7e1bd7452582b11e30ee5a6022259eaff72f

Contents?: true

Size: 596 Bytes

Versions: 1

Compression:

Stored size: 596 Bytes

Contents

image: "ruby:2.7.3"

cache:
  paths:
    - vendor/bundle/

stages:
  - test
  - deploy

.ruby:
  before_script:
    - gem install bundler
    - bundle config set path 'vendor/bundle'
    - bundle install

test:
  extends: .ruby
  stage: test
  script:
  - bundle exec rspec --format progress --format RspecJunitFormatter --out rspec.xml
  artifacts:
    paths:
      - rspec.xml
    reports:
      junit: rspec.xml

deploy:
  extends: .ruby
  stage: deploy
  rules:
    - if: $CI_COMMIT_TAG
  script:
    - bundle exec rake build
    - gem push pkg/danger-gitlab_reviewbot-${CI_COMMIT_TAG/v}.gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-gitlab_reviewbot-1.2.3 .gitlab-ci.yml