Sha256: 6e248d475e1a04c25fc4b93571c692bf8a3c047c0a13ce96c6c1bc293a1ef6b5

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

image: ruby:2.7

pipelines:
  tags:
    "v*":
      - step:
          name: Rubocop
          caches:
            - bundler
          script:
            - gem install rubocop
            - gem update rubocop
            - rubocop
      - step:
          name: RSpec
          caches:
            - bundler
          script:
            - gem install bundler
            - gem update bundler
            - bundle update
            - bundle exec rspec
      - step:
          name: Push to RubyGems
          deployment: RubyGems
          script:
            - gem install bundler gem-release rspec
            - bundle install
            - (umask  077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
            - gem release
          artifacts:
            - pkg/**
  branches:
    master:
      - step:
          caches:
            - bundler
          script:
            - gem install rubocop
            - gem update rubocop
            - rubocop
      - step:
          caches:
            - bundler
          script:
            - gem install bundler
            - gem update bundler
            - bundle update
            - bundle exec rspec
    develop:
      - step:
          caches:
            - bundler
          script:
            - gem install rubocop
            - gem update rubocop
            - rubocop
      - step:
          caches:
            - bundler
          script:
            - gem install bundler
            - gem update bundler
            - bundle update
            - bundle exec rspec

definitions:
  caches:
    bundle: /usr/local/bundle

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legion-cli-0.2.0 bitbucket-pipelines.yml