Sha256: 1298a690d7e73e63e5c4ba0a21b87912895a21cd92179509f1ec0664d10c8f2e

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

version: 2
workflows:
  version: 2
  test-and-build:
    jobs:
      - test:
          filters:
            tags:
              only: /.*/
      - build-and-release:
          requires: [test]
          filters:
            tags:
              only: /\d+\.\d+\.\d+/
            branches:
              only:
                - master
jobs:
  test:
    docker:
      - image: darthjee/circleci_rails_gems:0.5.1
        environment:
          PROJECT: azeroth
    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: 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: 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:0.5.1
        environment:
          PROJECT: azeroth
    steps:
      - checkout
      - run:
          name: Bundle Install
          command: bundle install
      - run:
          name: Signin
          command: scripts/build.sh signin
      - run:
          name: Build Gem
          command: scripts/build.sh build
      - run:
          name: Push Gem
          command: scripts/build.sh push

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azeroth-0.7.0 .circleci/config.yml