Sha256: 169b45d8780c922ef8622415e839c01b65da88691c51e3a4208df2333b4d1b0e

Contents?: true

Size: 940 Bytes

Versions: 3

Compression:

Stored size: 940 Bytes

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 "business.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 "business.gemspec" }}
          paths:
            - vendor/bundle
      - run:
          name: Run tests
          command: bundle exec rspec

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

3 entries across 3 versions & 1 rubygems

Version Path
business-2.1.0 .circleci/config.yml
business-2.0.0 .circleci/config.yml
business-1.18.0 .circleci/config.yml