Sha256: 0de60b4f8cc2ceb6901c342d26340e3e7f20eea24a6611cf2b9e3f6aca271b7a

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

image: ruby:2.7


definitions:
  steps:
    - step: &rubocop
        name: Rubocop
        runs-on: self.hosted
        script:
          - gem install rubocop rubocop-rspec rubocop-performance rubocop-sequel rubocop-md rubocop-sequel --no-document
          - rubocop --format junit --out test-reports/junit.xml
    - step: &rspec
        name: RSpec 2.7
        runs-on: self.hosted
        caches:
          - bundler
        script:
          - gem install bundler rspec rspec_junit_formatter
          - bundle install
          - bundle exec rspec --format RspecJunitFormatter --out test-reports/junit.xml
  caches:
    bundler: /usr/local/bundle

pipelines:
  default:
    - step: *rubocop
    - step: *rspec
    - parallel:
        - step:
            <<: *rspec
            name: RSpec 2.5
            image: ruby:2.5
        - step:
            <<: *rspec
            name: RSpec 2.6
            image: ruby:2.6
        - step:
            <<: *rspec
            name: RSpec 3
            image: ruby:3
  pull-requests:
    master:
      - step: *rubocop
      - step: *rspec
      - parallel:
          - step:
              <<: *rspec
              name: RSpec 2.5
              image: ruby:2.5
          - step:
              <<: *rspec
              name: RSpec 2.6
              image: ruby:2.6
          - step:
              <<: *rspec
              name: RSpec 3
              image: ruby:3
      - step:
          name: RubyGems Deployment
          deployment: RubyGems
          runs-on: self.hosted
          script:
            - gem install gem-release
            - (umask  077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
            - gem release --tag --push
            - git push --tags
            - gem build
          condition:
            changesets:
              includePaths:
                - "lib/legion/logging/version.rb"
          artifacts:
            - pkg/**
            - '*.gem'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legion-logging-1.1.5 bitbucket-pipelines.yml