Sha256: 502594ef88f9883a89261f6dea38e196988c062c37b90c9896fd05a650b627dd

Contents?: true

Size: 1.2 KB

Versions: 8

Compression:

Stored size: 1.2 KB

Contents

version: 2
jobs:
  build:
    docker:
      - image: circleci/ruby:2.3.3-node
        environment:
          RAILS_ENV: test
    steps:
      - checkout
      # Restore bundle cache
      - restore_cache:
          key: rails-{{ checksum "danger-wcc.gemspec" }}

      # Bundle install dependencies
      - run: bundle install --path /tmp/vendor/bundle

      # Store bundle cache
      - save_cache:
          key: rails-{{ checksum "danger-wcc.gemspec" }}
          paths:
            - /tmp/vendor/bundle

      # run Danger
      - type: shell
        command: |
          bundle exec danger

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

      # Run rspec in parallel
      - type: shell
        command: |
          bundle exec rspec --profile 10 \
                            --format RspecJunitFormatter \
                            --out test_results/rspec.xml \
                            --format documentation \
                            --order rand \
                            $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
danger-wcc-0.1.3 .circleci/config.yml
danger-wcc-0.1.2 .circleci/config.yml
danger-wcc-0.1.1 .circleci/config.yml
danger-wcc-0.1.0 .circleci/config.yml
danger-wcc-0.0.6 .circleci/config.yml
danger-wcc-0.0.5 .circleci/config.yml
danger-wcc-0.0.4 .circleci/config.yml
danger-wcc-0.0.3 .circleci/config.yml