Sha256: f209840e5e0dc835c21b178a8ec0e1e016a1fc6f7300fdd3a92d618303bdd517

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

version: 2
jobs:
  build:
    docker:
      - image: salsify/ruby_ci:2.5.8
    environment:
      CIRCLE_TEST_REPORTS: "test-results"
    working_directory: ~/salsify_rubocop
    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-gems-ruby-2.5.8-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
            - v1-gems-ruby-2.5.8-
      - run:
          name: Install Gems
          command: |
            if ! bundle check --path=vendor/bundle; then
              bundle install --path=vendor/bundle --jobs=4 --retry=3
              bundle clean
            fi
      - save_cache:
          key: v1-gems-ruby-2.5.8-{{ checksum "salsify_rubocop.gemspec" }}-{{ checksum "Gemfile" }}
          paths:
            - "vendor/bundle"
      - run:
          name: Run Rubocop
          command: bundle exec rubocop
      - run:
          name: Run Tests
          command: |
            bundle exec rspec --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/junit.xml --format progress spec
      - store_test_results:
          path: "test-results"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salsify_rubocop-1.0.2 .circleci/config.yml
salsify_rubocop-1.0.1 .circleci/config.yml