.circleci/config.yml in zyra-0.0.1 vs .circleci/config.yml in zyra-0.0.2
- 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_ruby_270:1.1.0
+ - image: darthjee/circleci_rails_gems:1.1.0
environment:
PROJECT: zyra
steps:
- checkout
- run:
@@ -31,16 +35,26 @@
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:1.1.0
+ environment:
+ PROJECT: zyra
+ 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
command: check_readme.sh
@@ -50,10 +64,10 @@
- run:
name: Check unit tests
command: check_specs
build-and-release:
docker:
- - image: darthjee/circleci_ruby_270:1.1.0
+ - image: darthjee/circleci_rails_gems:1.1.0
environment:
PROJECT: zyra
steps:
- checkout
- run: