Sha256: 5be1cd4711e2bf51443ff0116b995be428dd1dbf2c979b041d92cd7cede1e55b

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

version: 2.1

orbs:
  samvera: samvera/circleci-orb@1

jobs:
  bundle_lint_test:
    parameters:
      ruby_version:
        type: string
      project:
        type: string
      bundler_version:
        type: string
        default: 2.3.6

    executor:
      name: 'samvera/ruby'
      ruby_version: << parameters.ruby_version >>

    steps:
      - checkout

      - run:
          name: Check for 'master' branch
          command: |
            git fetch --all --quiet --prune --prune-tags
            if [[ -n "$(git branch --all --list master */master)" ]]; then
                echo "A branch named 'master' was found. Please remove it."
                echo "$(git branch --all --list master */master)"
            fi
            [[ -z "$(git branch --all --list master */master)" ]]
      - samvera/cached_checkout

      - samvera/bundle:
          ruby_version: << parameters.ruby_version >>
          bundler_version: << parameters.bundler_version >>

      - samvera/rubocop

workflows:
  version: 2
  ci:
    jobs:
      - bundle_lint_test:
          project: bixby
          name: ruby2-6
          ruby_version: 2.6.9

      - bundle_lint_test:
          project: bixby
          name: ruby2-7
          ruby_version: 2.7.5

      - bundle_lint_test:
          project: bixby
          name: ruby3-0
          ruby_version: 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bixby-4.0.0 .circleci/config.yml