Sha256: 63263ea28c0ebe78c70bdbd2b2097eca5a277f7bfd6ab48cb2baf47c23f93746

Contents?: true

Size: 1.04 KB

Versions: 3

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 "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
      - 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

3 entries across 3 versions & 2 rubygems

Version Path
business-2.2.1 .circleci/config.yml
business_day-3.1.0 .circleci/config.yml
business-2.2.0 .circleci/config.yml