Sha256: edf0856954500d297767726f6ff9a9b3d46541aeb1d5a7970aecd114fb41feef

Contents?: true

Size: 910 Bytes

Versions: 7

Compression:

Stored size: 910 Bytes

Contents

version: 2
jobs:
  build:
    working_directory: ~/deepl-rb
    docker:
    - image: circleci/ruby:2.1
    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

7 entries across 7 versions & 1 rubygems

Version Path
deepl-rb-2.2.2 .circleci/config.yml
deepl-rb-2.2.1 .circleci/config.yml
deepl-rb-2.2.0 .circleci/config.yml
deepl-rb-2.1.0 .circleci/config.yml
deepl-rb-2.0.0 .circleci/config.yml
deepl-rb-1.0.1 .circleci/config.yml
deepl-rb-1.0.0 .circleci/config.yml