Sha256: f53ed09020ed664fed8b5314f7d941d6b8db1c8a50ddf8dccba75498e72f9e2e

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2
jobs:
  build:
    parallelism: 1
    docker:
      # specify the version you desire here
      # https://circleci.com/developer/images/image/cimg/ruby
      - image: cimg/ruby:3.2.1
        environment:
          CODECLIMATE_REPO_TOKEN: b6626e682a8e97e0c5978febc92c3526792a2d018b41b8e1b52689da37fb7d92

    working_directory: ~/knapsack_pro-ruby

    steps:
      - checkout

      # Download and cache dependencies
      - restore_cache:
          keys:
          - v2-dependencies-bundler-{{ checksum "knapsack_pro.gemspec" }}
          # fallback to using the latest cache if no exact match is found
          - v2-dependencies-bundler-

      - run:
          name: install ruby dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle

      - run: gem install rubocop

      - save_cache:
          paths:
            - ./vendor/bundle
          key: v2-dependencies-bundler-{{ checksum "knapsack_pro.gemspec" }}

      # enforce `frozen_string_literal: true` in the gem files
      - run: rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment lib/

      - run: bundle exec rspec spec

      - run: bundle exec ruby spec/knapsack_pro/formatters/time_tracker_specs.rb

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
knapsack_pro-6.0.3 .circleci/config.yml
knapsack_pro-6.0.2 .circleci/config.yml
knapsack_pro-6.0.1 .circleci/config.yml
knapsack_pro-6.0.0 .circleci/config.yml