Sha256: 730aafb2ae65937f9910c501037f1dc5e348aafe32a98710cabe5e8610ea2182

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

version: 2.1
orbs:
  ruby: circleci/ruby@2.0.0

workflows:
  version: 2
  test-deploy:
    jobs:
      - build
      - deploy:
          filters:
            tags:
              only: /.*/
            branches:
              ignore: /.*/

jobs:
  build:
    docker:
      - image: cimg/ruby:3.3.0-browsers
        auth:
          username: $DOCKERHUB_USER
          password: $DOCKERHUB_PASSWORD

    executor: ruby/default
    steps:
      - checkout
      - run:
          name: Which bundler?
          command: bundle -v
      - run: bundle install
      - run:
          name: lint
          command: bundle exec rubocop
      - run:
          name: test
          command: bundle exec rake
  deploy:
    docker:
      - image: cimg/ruby:3.1-browsers

    working_directory: ~/repo

    steps:
      - checkout
      - run:
          name: Setup Rubygems
          command: bash .circleci/setup-rubygems.sh

      - run:
          name: Publish to Rubygems
          command: |
            gem build alma.gemspec
            gem push "$(ls alma-*.gem)"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alma-0.6.2 .circleci/config.yml
alma-0.6.1 .circleci/config.yml
alma-0.6.0 .circleci/config.yml
alma-0.5.1 .circleci/config.yml
alma-0.5.0 .circleci/config.yml