Sha256: 2e03dc6789b45ecce47de106eb30ef353bfbfa343af0f37f7e1533fb9d043844

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

ruby: &ruby
  image: carwow/ruby-ci:2.6

redis: &redis
  image: redis

version: 2

jobs:
  bundle:
    working_directory: ~/umbra
    docker:
      - *ruby
    steps:
      - checkout
      - restore_cache:
          keys:
            - bundle-{{ checksum "Gemfile.lock" }}
            - bundle-
      - run: |
          bundle config --local path vendor/bundle &&
          bundle check || bundle install --jobs=4 --retry=3
      - save_cache:
          key: bundle-{{ checksum "Gemfile.lock" }}
          paths: [~/umbra/vendor/bundle]
      - persist_to_workspace:
          root: '~'
          paths: [umbra]

  rubocop:
    working_directory: ~/umbra
    docker:
      - *ruby
    steps:
      - attach_workspace:
          at: '~'
      - run: bundle exec rubocop

  tests:
    working_directory: ~/umbra
    docker:
      - *ruby
      - *redis
    steps:
      - attach_workspace:
          at: '~'
      - run: |
          bundle exec rspec

workflows:
  version: 2
  build:
    jobs:
      - bundle
      - rubocop:
          requires: [bundle]
      - tests:
          requires: [bundle]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
umbra-rb-0.3.0.pre .circleci/config.yml
umbra-rb-0.2.0 .circleci/config.yml
umbra-rb-0.1.5.pre .circleci/config.yml
umbra-rb-0.1.4.pre .circleci/config.yml