Sha256: d0b6caba67a7f1f036482d6cf34cb9fdaca969618384f780733229036af1ac73

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2

jobs:
  build:
    branches:
      only:
        - master

    docker:
      # specify the version you desire here
      - image: cimg/ruby:3.1.2

      # Specify service dependencies here if necessary
      # CircleCI maintains a library of pre-built images
      # documented at https://circleci.com/docs/2.0/circleci-images/
      # - image: circleci/postgres:9.4

    working_directory: ~/repo

    steps:
      - checkout

      # Download and cache dependencies
      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "Gemfile.lock" }}
            # fallback to using the latest cache if no exact match is found
            - v1-dependencies-

      - run:
          name: install dependencies
          command: |
            gem install bundler
            bundle install --jobs=4 --retry=3 --path vendor/bundle
      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-{{ checksum "Gemfile.lock" }}

      # run rubocop!
      - run: bundle exec rake rubocop

      # run rspec!
      - run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakeit-0.11.0 .circleci/config.yml