Sha256: 4e9aefde4cc6910be5f7afeb94e7472227cf51fde85994433e3b9417c6e98ad2

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

version: 2
jobs:
  build:
    working_directory: ~/YourMechanic/digest_generator
    parallelism: 1
    shell: /bin/bash --login

    environment:
      CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
      CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
    docker:
      - image: circleci/ruby:2.6.2
    steps:
      - checkout
      - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS      
      - restore_cache:
          keys:
          # This branch if available
          - v2-dep-{{ .Branch }}-
          # Default branch if not
          - v2-dep-master-
          # Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly
          - v2-dep-
      - run:
          name: Install bundler for digest_generator
          working_directory: ~/YourMechanic/digest_generator
          command: gem install bundler:2.2.11
      - run:
          name: Install Gems for digest_generator
          working_directory: ~/YourMechanic/digest_generator
          command: bundle install
      # Save dependency cache
      - save_cache:
          key: v2-dep-{{ .Branch }}-{{ epoch }}
          paths:
          - vendor/bundle
          - ~/virtualenvs
          - ~/.m2
          - ~/.ivy2
          - ~/.bundle
      - run:
          working_directory: ~/YourMechanic/digest_generator
          command: bundle exec rubocop
      - run:
          working_directory: ~/YourMechanic/digest_generator
          command: bundle exec rspec --colour --drb --profile -fd --format progress $(circleci tests glob "spec/*_spec.rb" | circleci tests split)
      - store_test_results:
          path: /tmp/circleci-test-results
      - store_artifacts:
          path: /tmp/circleci-artifacts
      - store_artifacts:
          path: /tmp/circleci-test-results
      - store_artifacts:
          path: digest_generator/coverage

Version data entries

2 entries across 2 versions & 1 rubygems

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