Sha256: d7eba4a12873cf3d12eb9c0481d6801330cdf740212c9dcc20e45975e801e6b4

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

version: 2.1
orbs:
  ruby: circleci/ruby@0.1.2

jobs:
  build:
    docker:
      - image: circleci/ruby:2.6.3-stretch-node
    executor: ruby/default
    steps:
      - checkout
      - run:
          name: "Create Necessary Directories"
          command: mkdir ./log

      - run:
          name: "Install Bundler 2.1.4"
          command: |
            gem install bundler:2.1.4 &&
            bundle -v

      # An orb function for bundling
      - ruby/bundle-install

      - run:
          name: Setup Code Climate test-reporter
          command: |
            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > bin/cc-test-reporter
            chmod +x bin/cc-test-reporter

      - run:
          name: "Rubocop"
          command: bundle exec rubocop

      - run:
          name: "Rspec"
          command: |
            RAILS_ENV=test bundle exec rspec &&
            bin/cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.json coverage/.resultset.json &&
            bin/cc-test-reporter upload-coverage

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psu_identity-0.3.0 .circleci/config.yml
psu_identity-0.2.0 .circleci/config.yml