Sha256: bf44be00802bd7edf614cc4970323d79db02da6a3b39d8c0ed04421249f0d0a5

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 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.7.3

    working_directory: ~/repo

    steps:
      - checkout

      # Download and cache dependencies
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "cloudflare-rails.gemspec" }}-{{ checksum "Appraisals" }}
          # fallback to using the latest cache if no exact match is found
          - v1-dependencies-

      - run:
          name: install bundler
          command: |
            gem install bundler -v $(grep bundler cloudflare-rails.gemspec |awk {'print $4'}|sed 's/"//g')

      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle

      - run:
          name: install appraisal versions
          command: |
            bundle exec appraisal install

      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-{{ checksum "cloudflare-rails.gemspec" }}-{{ checksum "Appraisals" }}

      # run tests!
      - run:
          name: run tests
          command: |
            bundle exec appraisal rake
      # collect reports
      - store_test_results:
          path: tmp/rspec
      - store_artifacts:
          path: tmp/rspec
          destination: test-results

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cloudflare-rails-2.4.0 .circleci/config.yml
cloudflare-rails-2.4.0.pre.beta.0 .circleci/config.yml
cloudflare-rails-2.3.0 .circleci/config.yml
cloudflare-rails-2.2.0 .circleci/config.yml