Sha256: 3ab84aad069ee71b67b86552e040ca14926b9c0f4c8d140572c02ad5264b1853

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

version: 2
jobs:
  build:
    parallelism: 1
    working_directory: ~/ezcater
    docker:
      - image: circleci/ruby:2.3.3
    steps:
      - checkout

      # Restore bundle cache
      - restore_cache:
          keys:
            - ruby-cache-{{ .Branch }}-{{ checksum "Gemfile" }}-{{ checksum "ezcater_rubocop.gemspec" }}
            - ruby-cache-{{ .Branch }}-
            - ruby-cache-

      # Bundle install dependencies
      - run: gem install bundler --no-document
      - run: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
      - run: bundle clean --force

      # Store bundle cache
      - save_cache:
          key: ruby-cache-{{ .Branch }}-{{ checksum "Gemfile" }}-{{ checksum "ezcater_rubocop.gemspec" }}
          paths:
            - vendor/bundle

      # Run Rubocop
      - run:
          name: RuboCop
          command: bundle exec rubocop

      # Run rspec in parallel
      - type: shell
        command: |
          bundle exec rspec --profile 10 \
                            --format RspecJunitFormatter \
                            --out test_results/rspec.xml \
                            --format progress

      # Save test results for timing analysis
      - store_test_results:
          path: test_results
      - store_test_results:
          path: tmp/capybara

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ezcater_rubocop-0.49.7 .circleci/config.yml
ezcater_rubocop-0.49.7.rc3 .circleci/config.yml
ezcater_rubocop-0.49.7.rc2 .circleci/config.yml
ezcater_rubocop-0.49.7.rc1 .circleci/config.yml
ezcater_rubocop-0.49.6 .circleci/config.yml
ezcater_rubocop-0.49.5 .circleci/config.yml
ezcater_rubocop-0.49.4 .circleci/config.yml
ezcater_rubocop-0.49.3 .circleci/config.yml
ezcater_rubocop-0.49.2 .circleci/config.yml
ezcater_rubocop-0.49.1 .circleci/config.yml