version: 2 jobs: build: docker: - image: circleci/ruby:2.4.1 steps: - checkout - run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - run: chmod +x ./cc-test-reporter - run: ./cc-test-reporter before-build - run: bundle install - run: bundle exec rspec - run: ./cc-test-reporter after-build --exit-code $?