Sha256: 300ad23101c7f4342823f1b9a32202298f8fe1c5b213a7009eee38bf091b4ef2

Contents?: true

Size: 2 KB

Versions: 3

Compression:

Stored size: 2 KB

Contents

version: 2
workflows:
  version: 2
  test-and-build:
    jobs:
      - test:
          filters:
            tags:
              only: /.*/
      - checks:
          filters:
            tags:
              only: /.*/
      - build-and-release:
          requires: [test, checks]
          filters:
            tags:
              only: /\d+\.\d+\.\d+/
            branches:
              only:
                - master
jobs:
  test:
    docker:
      - image: darthjee/circleci_rails_gems:1.1.0
        environment:
          PROJECT: zyra
    steps:
      - checkout
      - 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: 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
      - run:
          name: Rubycritcs check
          command: rubycritic.sh
      - run:
          name: Check unit tests
          command: check_specs
  build-and-release:
    docker:
      - image: darthjee/circleci_rails_gems:1.1.0
        environment:
          PROJECT: zyra
    steps:
      - checkout
      - run:
          name: Bundle Install
          command: bundle install
      - run:
          name: Signin
          command: build_gem.sh signin
      - run:
          name: Build Gem
          command: build_gem.sh build
      - run:
          name: Push Gem
          command: build_gem.sh push

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zyra-1.1.0 .circleci/config.yml
zyra-1.0.0 .circleci/config.yml
zyra-0.0.2 .circleci/config.yml