Sha256: 4c5c7320ad6e2750dea2c39c465648018e15806a93d2d0023da1e85349af84bf

Contents?: true

Size: 1.99 KB

Versions: 5

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
      - 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

5 entries across 5 versions & 1 rubygems

Version Path
ruby-pg-extras-4.5.1 .circleci/config.yml
ruby-pg-extras-4.5.0 .circleci/config.yml
ruby-pg-extras-4.4.4 .circleci/config.yml
ruby-pg-extras-4.4.3 .circleci/config.yml
ruby-pg-extras-4.4.2 .circleci/config.yml