Sha256: f451d75a40570dc3f6371d9ff5738e2d896f608b0cbb0ae602d22db390623314

Contents?: true

Size: 1.99 KB

Versions: 12

Compression:

Stored size: 1.99 KB

Contents

version: 2
jobs:
  test:
    docker:
      - image: circleci/ruby:2.6.5
        environment:
          DATABASE_URL: postgresql://postgres:secret@localhost:5432/ruby-pg-extras-test
      - image: circleci/postgres:11.5
        command: postgres -c shared_preload_libraries=pg_stat_statements
        name: postgres11
        environment:
          POSTGRES_USER: postgres
          POSTGRES_DB: ruby-pg-extras-test
          POSTGRES_PASSWORD: secret
      - image: circleci/postgres:12.7
        command: postgres -c shared_preload_libraries=pg_stat_statements
        name: postgres12
        environment:
          POSTGRES_USER: postgres
          POSTGRES_DB: ruby-pg-extras-test
          POSTGRES_PASSWORD: secret
      - image: circleci/postgres:13.3
        command: postgres -c shared_preload_libraries=pg_stat_statements
        name: postgres13
        environment:
          POSTGRES_USER: postgres
          POSTGRES_DB: ruby-pg-extras-test
          POSTGRES_PASSWORD: secret
    parallelism: 1
    steps:
      - checkout
      - run: gem update --system
      - run: gem install bundler
      - run: bundle config set --local path 'vendor/bundle'
      - run: bundle install
      - run: sudo apt-get update --allow-releaseinfo-change
      - run: sudo apt install postgresql-client-11
      - run: dockerize -wait tcp://postgres11:5432 -timeout 1m
      - run:
          name: Run specs for PG 11
          environment:
            DATABASE_URL: postgresql://postgres:secret@postgres11:5432/ruby-pg-extras-test
          command: bundle exec rspec spec/
      - run:
          name: Run specs for PG 12
          environment:
            DATABASE_URL: postgresql://postgres:secret@postgres12:5432/ruby-pg-extras-test
          command: bundle exec rspec spec/
      - run:
          name: Run specs for PG 13
          environment:
            DATABASE_URL: postgresql://postgres:secret@postgres13:5432/ruby-pg-extras-test
          command: bundle exec rspec spec/
workflows:
  version: 2
  test:
    jobs:
      - test

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby-pg-extras-4.0.0 .circleci/config.yml
ruby-pg-extras-3.3.0 .circleci/config.yml
ruby-pg-extras-3.2.7 .circleci/config.yml
ruby-pg-extras-3.2.6 .circleci/config.yml
ruby-pg-extras-3.2.5 .circleci/config.yml
ruby-pg-extras-3.2.4 .circleci/config.yml
ruby-pg-extras-3.2.3 .circleci/config.yml
ruby-pg-extras-3.2.2 .circleci/config.yml
ruby-pg-extras-3.2.1 .circleci/config.yml
ruby-pg-extras-3.2.0 .circleci/config.yml
ruby-pg-extras-3.1.0 .circleci/config.yml
ruby-pg-extras-3.0.6 .circleci/config.yml