Sha256: ea339d2fe121b14de8576d8d04376bafdda6068bc04bad42bc0c2cceae39dc35

Contents?: true

Size: 1.69 KB

Versions: 1

Compression:

Stored size: 1.69 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:0.6.2
        environment:
          PROJECT: tarquinn
    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:0.6.2
        environment:
          PROJECT: tarquinn
    steps:
      - checkout
      - run:
          name: Bundle Install
          command: bundle install
      - run:
          name: Check version documentation
          command: check_readme.sh
  build-and-release:
    docker:
      - image: darthjee/circleci_rails_gems:0.6.2
        environment:
          PROJECT: tarquinn
    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

1 entries across 1 versions & 1 rubygems

Version Path
tarquinn-0.2.0 .circleci/config.yml