Sha256: babd8eb1b8b5cadaa34f3a8e78edff61e06b086b6a7114039625b336421a65c9

Contents?: true

Size: 1.54 KB

Versions: 7

Compression:

Stored size: 1.54 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
      - run:
          name: Build documentation and verify that doc files are in sync
          command: bundle exec rake verify_cops_documentation

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubocop-minitest-0.15.2 .circleci/config.yml
rubocop-minitest-0.15.1 .circleci/config.yml
rubocop-minitest-0.15.0 .circleci/config.yml
rubocop-minitest-0.14.0 .circleci/config.yml
rubocop-minitest-0.13.0 .circleci/config.yml
rubocop-minitest-0.12.1 .circleci/config.yml
rubocop-minitest-0.12.0 .circleci/config.yml