Sha256: 08f8f5fc1f2fbbb6f0458796a1af04f40d4d4a0a83d07d1fe3a06317787c2262

Contents?: true

Size: 1.04 KB

Versions: 7

Compression:

Stored size: 1.04 KB

Contents

version: 2.1

jobs:
  test:
    docker:
      - image: circleci/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.9", "2.5.8", "2.6.6", "2.7.1"]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ibandit-1.2.3 .circleci/config.yml
ibandit-1.2.2 .circleci/config.yml
ibandit-1.2.0 .circleci/config.yml
ibandit-1.2.1 .circleci/config.yml
ibandit-1.1.0.1 .circleci/config.yml
ibandit-1.1.0 .circleci/config.yml
ibandit-1.0.2 .circleci/config.yml