Sha256: 1848ba08922dd2019ea531d8d1f4ca6a1e3850bad0f647662a683f9258bce9c7

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

version: 2.1

jobs:
  test:
    docker:
      - image: cimg/ruby:<< parameters.ruby-version >>
    parameters:
      ruby-version:
        type: string
    steps:
      - checkout
      - restore_cache:
          keys:
            - bundle-v1-<< parameters.ruby-version >>-{{ checksum "ibandit.gemspec" }}
            - bundle-v1-<< parameters.ruby-version >>-
      - run:
          name: Install dependencies
          command: bundle install --clean --no-cache --path vendor/bundle --jobs=4 --retry=3
      - save_cache:
          key: bundle-v1-<< parameters.ruby-version >>-{{ checksum "ibandit.gemspec" }}
          paths:
            - vendor/bundle
      - run:
          name: Run tests
          command: bundle exec rspec
      - run:
          name: Run rubocop
          command: bundle exec rubocop --parallel --extra-details --display-style-guide

workflows:
  default:
    jobs:
      - test:
          name: Ruby << matrix.ruby-version >>
          matrix:
            parameters:
              ruby-version: ["2.4.10", "2.5.8", "2.6.6", "2.7.2", "3.0.0"]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ibandit-1.5.0 .circleci/config.yml
ibandit-1.4.1 .circleci/config.yml
ibandit-1.4.0 .circleci/config.yml
ibandit-1.3.0 .circleci/config.yml