.circleci/config.yml in magicka-0.4.0 vs .circleci/config.yml in magicka-0.5.0
- old
+ new
@@ -5,22 +5,26 @@
jobs:
- test:
filters:
tags:
only: /.*/
+ - checks:
+ filters:
+ tags:
+ only: /.*/
- build-and-release:
- requires: [test]
+ requires: [test, checks]
filters:
tags:
only: /\d+\.\d+\.\d+/
branches:
only:
- master
jobs:
test:
docker:
- - image: darthjee/circleci_rails_gems:0.5.4
+ - image: darthjee/circleci_rails_gems:0.6.0
environment:
PROJECT: magicka
steps:
- checkout
- run:
@@ -31,14 +35,24 @@
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 $?
+ checks:
+ docker:
+ - image: darthjee/circleci_rails_gems:0.6.0
+ environment:
+ PROJECT: magicka
+ steps:
+ - checkout
+ - run:
+ name: Bundle Install
+ command: bundle install
+ - run:
+ name: Rubocop
+ command: rubocop
- run:
name: Yardstick coverage check
command: bundle exec rake verify_measurements
- run:
name: Check version documentation