Sha256: a291982ce32c8f35f828769a8f47d5745b7516afe42197a86f0a74e59282ae54

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2

workflows:
  version: 2
  commit:
    jobs:
      - ruby-2.6
      - ruby-2.5

jobs:
  "ruby-2.6":
    docker:
      # specify the version you desire here
      - image: ruby:2.6
      - image: amazon/dynamodb-local

    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-dependencies-2.6-{{ checksum "Gemfile.lock" }}
            - v1-dependencies-2.6-
      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle
            bundle exec appraisal install
      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-2.6-{{ checksum "Gemfile.lock" }}
      # run tests!
      - run:
          name: run tests
          command: bundle exec appraisal rspec
      # collect reports
      - store_test_results:
          path: /tmp/test-results
      - store_artifacts:
          path: /tmp/test-results
          destination: test-results
  "ruby-2.5":
    docker:
      # specify the version you desire here
      - image: ruby:2.5
      - image: amazon/dynamodb-local

    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-dependencies-2.5-{{ checksum "Gemfile.lock" }}
            - v1-dependencies-2.5-
      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle
            bundle exec appraisal install
      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-2.5-{{ checksum "Gemfile.lock" }}
      # run tests!
      - run:
          name: run tests
          command: bundle exec appraisal rspec
      # collect reports
      - store_test_results:
          path: /tmp/test-results
      - store_artifacts:
          path: /tmp/test-results
          destination: test-results

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dynamo-store-0.0.1 .circleci/config.yml