Sha256: 2dc81e27957e29091bc37dd603238e5b7c49de801b76d682f7d89f90387199b8

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

version: 2.1
orbs:
    ruby: circleci/ruby@0.1.2

common: &common
    steps:
        - checkout
        - run:
            name: Configure Bundler
            command: |
                echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
                source $BASH_ENV
                gem install bundler
        - restore_cache:
            keys:
                - v1-dep-bundle-{{ checksum "Gemfile.lock" }}-{{ .Environment.CIRCLE_JOB }}
        - run:
            name: Install dependencies
            command: |
                bundle install --jobs=4 --retry=3 --path vendor/bundle
        - save_cache:
            key: v1-dep-bundle-{{ checksum "Gemfile.lock" }}-{{ .Environment.CIRCLE_JOB }}
            paths:
                - vendor/bundle
        - run:
            name: Run tests
            command: |
                bundle exec rspec --color --format documentation --format progress spec


jobs:
    "ruby-26":
        <<: *common
        docker:
            - image: circleci/ruby:2.6
    "ruby-27":
        <<: *common
        docker:
            - image: ruby:2.7
    "ruby-30":
        <<: *common
        docker:
            - image: ruby:3.0
workflows:
    version: 2.1
    build:
        jobs:
            - "ruby-26"
            - "ruby-27"
            - "ruby-30"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dexcom-0.3.1 .circleci/config.yml