Sha256: 1277d99b570cba7c250038f5de06311c79f166267756818fcccb9bc1769bdcf9

Contents?: true

Size: 1.77 KB

Versions: 9

Compression:

Stored size: 1.77 KB

Contents

version: 2.1
orbs:
  ruby: circleci/ruby@0.2.1
  sonarcloud: sonarsource/sonarcloud@1.0.1

jobs:
  "rubocop":
    docker:
      - image: circleci/ruby:2.7-node
    steps:
      - checkout
      - ruby/load-cache
      - ruby/install-deps
      - run:
          name: Run Rubocop
          command: bundle exec rubocop
      - ruby/save-cache
  "ruby-two-five":
    docker:
      - image: circleci/ruby:2.5
    steps:
      - checkout
      - ruby/load-cache
      - run:
          name: update bundler
          command: gem update bundler
      - ruby/install-deps
      - ruby/run-tests
      - ruby/save-cache
  "ruby-two-six":
    docker:
      - image: circleci/ruby:2.6
    steps:
      - checkout
      - ruby/load-cache
      - run:
          name: update bundler
          command: gem update bundler
      - ruby/install-deps
      - ruby/run-tests
      - ruby/save-cache
  "ruby-two-seven":
    docker:
      - image: circleci/ruby:2.7
      - image: memcached:1.5-alpine
    steps:
      - checkout
      - ruby/load-cache
      - ruby/install-deps
      - ruby/run-tests
      - ruby/save-cache
  "sonarcloud":
    docker:
      - image: circleci/ruby:2.7
    steps:
      - checkout
      - ruby/load-cache
      - ruby/install-deps
      - ruby/run-tests
      - run:
          name: Run Rubocop
          command: bundle exec rubocop --format=json --out=rubocop-result.json
      - sonarcloud/scan
      - ruby/save-cache

workflows:
  version: 2
  rubocop-rspec:
    jobs:
      - rubocop
      - ruby-two-five:
          requires:
            - rubocop
      - ruby-two-six:
          requires:
            - ruby-two-five
      - ruby-two-seven:
          requires:
            - ruby-two-five
      - sonarcloud:
          requires:
            - ruby-two-seven
            - ruby-two-six

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
legion-logging-1.1.3 .circleci/config.yml
legion-settings-1.1.2 .circleci/config.yml
legion-logging-1.1.2 .circleci/config.yml
legion-logging-1.1.1 .circleci/config.yml
legion-settings-1.1.1 .circleci/config.yml
legion-logging-1.1.0 .circleci/config.yml
legion-settings-1.1.0 .circleci/config.yml
legion-exceptions-1.0.4 .circleci/config.yml
legion-exceptions-1.0.3 .circleci/config.yml