.circleci/config.yml in mercy-1.5.0 vs .circleci/config.yml in mercy-1.6.0
- old
+ new
@@ -1,13 +1,31 @@
version: 2
jobs:
build:
docker:
- - image: circleci/ruby:2.4.1
+ - image: darthjee/circleci_ruby_gems:0.0.2
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 $?
+ - run:
+ name: Prepare Coverage Test Report
+ command: cc-test-reporter before-build
+ - run:
+ name: Bundle Install
+ command: bundle install
+ - run:
+ name: RSpec
+ command: bundle exec rspec
+ - run:
+ name: Rubocop
+ command: rubocop
+ - run:
+ name: Coverage Test Report
+ command: cc-test-reporter after-build --exit-code $?
+ - run:
+ name: Yardstick coverage check
+ command: bundle exec rake verify_measurements
+ - run:
+ name: Check version documentation
+ command: scripts/check_readme.sh
+ - run:
+ name: Rubycritcs check
+ command: scripts/rubycritic.sh