Sha256: c5e1e1aa8226ff4bb3404c9292ba373d0474c39778f682a554332e8573c64bd5

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

reference:
  bundle_path: &bundle_path
    vendor/bundle

  restore_repo: &restore_repo
    restore_cache:
      name: Restore repo cache
      keys:
        - v1-repo-{{ .Branch }}-{{ .Revision }}
        - v1-repo-{{ .Branch }}
        - v1-repo-master

  gems_cache_key: &gems_cache_key
    v1-gem-cache-{{ arch }}-{{ checksum "Gemfile.lock" }}

  restore_gems: &restore_gems
    restore_cache:
      name: Restore gem cache
      keys:
        - *gems_cache_key
        - v1-gem-cache-{{ arch }}

defaults: &defaults
version: 2
jobs:
  rspec:
    working_directory: ~/maitredee
    docker:
      - image: circleci/ruby:2.5.1
        environment: &docker_ruby_env
          RACK_ENV: test
          RAILS_ENV: test
          BUNDLE_PATH: *bundle_path
          CIRCLE_TEST_REPORTS: "/tmp/test-results"
          CIRCLE_ARTIFACTS: "/tmp/test-results"
    steps:
      - *restore_repo
      - *restore_gems
      - checkout
      - save_cache:
          name: Save repo cache
          key: v1-repo-{{ .Branch }}-{{ .Revision }}
          paths: .

      - run: bundle install --jobs=4 --retry=3 --frozen
      - save_cache:
          name: Save gem cache
          key: *gems_cache_key
          paths: *bundle_path

      - run:
          name: run rspec tests
          command: |
            bundle exec rspec --format progress
      - run:
          name: run sns/sqs tests
          command: |
            INTEGRATION_TEST=sns_sqs bundle exec rspec --format progress
workflows:
  version: 2
  build_and_test:
    jobs:
      - rspec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maitredee-0.8.2 .circleci/config.yml
maitredee-0.8.1 .circleci/config.yml
maitredee-0.8.0 .circleci/config.yml