Sha256: 1efb1a81221a5e65745e391552839807ab6fcaffd75dbed3cb201a23db83e1bd

Contents?: true

Size: 1.77 KB

Versions: 2

Compression:

Stored size: 1.77 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2
jobs:
  build:
    docker:
      # specify the version you desire here
       - image: circleci/ruby:2.6.1-node
#         environment:
#           BUNDLER_VERSION: 2.0.1

    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:
          name: Creating artifacts folder
          command: mkdir -p /tmp/test-results
      - run:
          name: Run Rubocop
          command: bundle exec rubocop --fail-level E --format html --out /tmp/test-results/rubocop.html

      - run:
          name: Run Reek
          command: bundle exec reek lib/

      - run:
          name: Run rspec in parallel
          command: |
            bundle exec rspec --profile 10 \
                              --format RspecJunitFormatter \
                              --out /tmp/test_results/rspec.xml \
                              --format progress \
                              $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)

      # Collecting reports
      - store_test_results:
          path: /tmp/test-results
      - store_artifacts:
          path: /tmp/test-results
          destination: test-results

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_prism-0.1.2 .circleci/config.yml
app_prism-0.1.1 .circleci/config.yml