Sha256: 4dc083552f2360b8bf6f7b11a5ad98afa766bc4de5ed4f6c0929209bde0d2a60

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 KB

Contents

# In order for builds to pass, in CircleCI you must have following environment variables setub:
# POSTMARK_API_KEY,POSTMARK_ACCOUNT_API_KEY,POSTMARK_CI_RECIPIENT,POSTMARK_CI_SENDER

version: 2.1

workflows:
  ruby-tests:
    jobs:
      - unit-tests:
          matrix:
            parameters:
              version: ["2", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7"]
      - unit-tests-legacy:
          matrix:
            parameters:
              version: ["kneip/ree-1.8.7-2012.02","ruby:1.9.3","circleci/jruby:9"]

orbs:
  ruby: circleci/ruby@0.1.2

jobs:
  unit-tests:
    parallelism: 1
    parameters:
      version:
        type: string
    docker:
      - image: circleci/ruby:<< parameters.version >>
    steps:
      - checkout
      - run:
          name: Versions
          command: |
            echo "ruby: $(ruby --version)"

      - run:
          name: Install dependencies
          command: bundle install

      - run:
          name: Run tests
          command: bundle exec rake spec

  unit-tests-legacy:
    parallelism: 1
    environment:
      BUNDLE_GEMFILE: ./gemfiles/Gemfile.legacy
    parameters:
      version:
        type: string
    docker:
      - image: << parameters.version >>
    steps:
      - checkout
      - run:
          name: Versions
          command: |
            echo "ruby: $(ruby --version)"

      - run:
          name: Install dependencies
          command: |
            gem install bundler --version 1.17.3
            bundle install

      - run:
          name: Run tests
          command: bundle exec rake spec

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
postmark-1.24.1 .circleci/config.yml
postmark-1.24.0 .circleci/config.yml
postmark-1.23.0 .circleci/config.yml
postmark-1.22.3 .circleci/config.yml
postmark-1.22.2 .circleci/config.yml
postmark-1.22.1 .circleci/config.yml
postmark-1.22.0 .circleci/config.yml
postmark-1.21.8 .circleci/config.yml
postmark-1.21.7 .circleci/config.yml
postmark-1.21.6 .circleci/config.yml
postmark-1.21.5 .circleci/config.yml
postmark-1.21.4 .circleci/config.yml