Sha256: 95b93f60d9a22e9d5f1628f001eba3e2f68ea0b347b9e02e31119e14e40d4107

Contents?: true

Size: 1.8 KB

Versions: 4

Compression:

Stored size: 1.8 KB

Contents

version: 2
jobs:
  build:
    working_directory: ~/YourMechanic/oreilly_api
    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 oreilly_api
          working_directory: ~/YourMechanic/oreilly_api
          command: gem install bundler:2.2.8
      - run:
          name: Install Gems for oreilly_api
          working_directory: ~/YourMechanic/oreilly_api
          command: bundle install
      # Save dependency cache
      - save_cache:
          key: v2-dep-{{ .Branch }}-{{ epoch }}
          paths:
          - vendor/bundle
          - ~/virtualenvs
          - ~/.m2
          - ~/.ivy2
          - ~/.bundle
      - run:
          working_directory: ~/YourMechanic/oreilly_api
          command: bundle exec rubocop
      - run:
          working_directory: ~/YourMechanic/oreilly_api
          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: oreilly_api/coverage

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oreilly_api-1.0.3 .circleci/config.yml
oreilly_api-1.0.2 .circleci/config.yml
oreilly_api-1.0.1 .circleci/config.yml
oreilly_api-1.0.0 .circleci/config.yml