Sha256: f77e49dcf54af7a5ce84b79691b209ac0ec7c2a808b748afcf9e8d5d16407d07

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

version: 2

jobs:
  test:
    docker:
      - image: circleci/ruby:2.5.3-node
      - image: circleci/postgres:9.6.6-alpine
    steps:
      - checkout
      - run:
          name: run tests
          command: |
            bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
            bundle exec rspec

  push_to_rubygems:
    docker:
      - image: circleci/ruby:2.5.3
    steps:
      - checkout
      - run:
          name: Create .gem/credentials file
          command: |
            mkdir ~/.gem
            echo "---
              :rubygems_api_key: $RUBYGEMS_API_KEY
            " > ~/.gem/credentials
            chmod 600 ~/.gem/credentials
      - run:
          name: Release to rubygems
          command: |
            gem build queue_classic_matchers
            gem push queue_classic_matchers-*.gem

workflows:
  version: 2
  gem_release:
    jobs:
      - test

      - push_to_rubygems:
          filters:
            branches:
              ignore:
                - /.*/
            tags:
              only:
                - /^v.*/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
queue_classic_matchers-1.1.0 .circleci/config.yml
queue_classic_matchers-1.0.2 .circleci/config.yml