# Ruby CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-ruby/ for more details # version: 2 jobs: build: docker: - image: circleci/ruby:2.5.1-node-browsers working_directory: ~/repo steps: - checkout - run: name: install dependencies working_directory: ~/repo command: | bundle install --jobs=4 --retry=3 --path vendor/bundle - run: name: run tests working_directory: ~/repo command: | bundle exec rspec - run: name: run rubocop working_directory: ~/repo command: | bundle exec rubocop - run: name: report coverage working_directory: ~/repo command: | bash <(curl -s https://codecov.io/bash) -f coverage/.resultset.json