Sha256: 15a5f0672c647122df986ccc3a8c775b536d75b20c56976712d4494ff9a87666

Contents?: true

Size: 915 Bytes

Versions: 2

Compression:

Stored size: 915 Bytes

Contents

version: 2
jobs:
  build:
    working_directory: ~/deepl-rb
    docker:
    - image: circleci/ruby:2.4-node
    steps:
    - checkout

    # Restore bundle cache
    - type: cache-restore
      name: Restore bundle cache
      key: deepl-rb-bundle-{{ checksum "Gemfile.lock" }}

    - run:
        name: Bundle Install
        command: bundle install --path vendor/bundle

    # Store bundle cache
    - type: cache-save
      name: Store bundle cache
      key: deepl-rb-bundle-{{ checksum "Gemfile.lock" }}
      paths:
      - vendor/bundle

    # Run rspec
    - type: shell
      command: |
        bundle exec rspec $(circleci tests glob "spec/**/*_spec.rb" |
                            circleci tests split --split-by=timings)

    # Run rubocop
    - type: shell
      command: |
        bundle exec rubocop

    # Save test results for timing analysis
    - store_test_results:
        path: test_results

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deepl-rb-0.0.1 .circleci/config.yml
deepl-rb-0.0.0 .circleci/config.yml