Sha256: 3940f9d560fa51e30fc7d69b206e7e4de91ba5da1f25d6d9a5ef5760e2181f13

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

version: 2.1

jobs:
  rake_default:
    parameters:
      image:
        description: "Name of the Docker image."
        type: string
        default: "circleci/ruby"
    docker:
      - image: << parameters.image >>
    environment:
      # CircleCI container has two cores, but Ruby can see 32 cores. So we
      # configure test-queue.
      # See https://github.com/tmm1/test-queue#environment-variables
      TEST_QUEUE_WORKERS: 2
      JRUBY_OPTS: "--dev -J-Xmx1000M"
    steps:
      - checkout
      - run: bundle install
      - run: bundle exec rake

  # Miscellaneous tasks
  documentation-checks:
    docker:
      - image: circleci/ruby
    steps:
      - checkout
      - run: bundle install
      - run:
          name: Check documentation syntax
          command: bundle exec rake documentation_syntax_check

workflows:
  build:
    jobs:
      - documentation-checks
      - rake_default:
          name: Ruby 2.6
          image: cimg/ruby:2.6
      - rake_default:
          name: Ruby 2.7
          image: cimg/ruby:2.7
      - rake_default:
          name: Ruby 3.0
          image: cimg/ruby:3.0
      - rake_default:
          name: Ruby 3.1
          image: cimg/ruby:3.1
      - rake_default:
          name: Ruby HEAD
          image: rubocophq/circleci-ruby-snapshot:latest # Nightly snapshot build
      - rake_default:
          name: JRuby 9.3
          image: circleci/jruby:9.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubocop-minitest-0.21.1 .circleci/config.yml
rubocop-minitest-0.21.0 .circleci/config.yml
rubocop-minitest-0.20.1 .circleci/config.yml
rubocop-minitest-0.20.0 .circleci/config.yml