diff --git a/.appveyor.yml b/.appveyor.yml index ed50225..4652b9e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -24,7 +24,7 @@ install: build_script: - bundle exec rake -rdevkit compile --trace test_script: - - bundle exec rake test PG_DEBUG=1 + - bundle exec rake test PG_DEBUG=0 environment: matrix: - ruby_version: "head" diff --git a/.github/workflows/binary-gems.yml b/.github/workflows/binary-gems.yml index b86b999..bbe4bd6 100644 --- a/.github/workflows/binary-gems.yml +++ b/.github/workflows/binary-gems.yml @@ -38,8 +38,8 @@ jobs: matrix: include: - ruby: "3.0" - PGVERSION: 13.2-1-windows-x64 - PGVER: "13" + PGVERSION: 14.0-1-windows-x64 + PGVER: "14" - ruby: "2.5" PGVERSION: 10.16-1-windows PGVER: "10" diff --git a/.github/workflows/source-gem.yml b/.github/workflows/source-gem.yml index 7ad81c8..539458a 100644 --- a/.github/workflows/source-gem.yml +++ b/.github/workflows/source-gem.yml @@ -31,15 +31,15 @@ jobs: include: - os: windows ruby: "head" - PGVERSION: 13.2-1-windows-x64 - PGVER: "13" + PGVERSION: 14.0-1-windows-x64 + PGVER: "14" - os: windows ruby: "2.5" PGVERSION: 9.3.25-1-windows-x64 PGVER: "9.3" - os: ubuntu ruby: "head" - PGVER: "13" + PGVER: "14" - os: ubuntu ruby: "3.0" PGVER: "12" @@ -51,11 +51,11 @@ jobs: PGVER: "13" - os: ubuntu ruby: "truffleruby-head" - PGVER: "13" + PGVER: "14" - os: macos ruby: "head" - PGVERSION: 13.2-1-osx - PGVER: "13" + PGVERSION: 14.0-1-osx + PGVER: "14" runs-on: ${{ matrix.os }}-latest env: @@ -117,7 +117,7 @@ jobs: - name: Run specs continue-on-error: ${{ matrix.ruby == 'truffleruby' }} env: - PG_DEBUG: 1 + PG_DEBUG: 0 run: ruby -rpg -S rspec spec/**/*_spec.rb -cfdoc - name: Print logs if job failed diff --git a/.travis.yml b/.travis.yml index ef86428..bf74f65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,10 @@ matrix: dist: xenial - rvm: ruby-head env: - - "PGVERSION=13" + - "PGVERSION=14" - rvm: truffleruby env: - - "PGVERSION=13" + - "PGVERSION=14" allow_failures: - rvm: ruby-head @@ -36,14 +36,14 @@ matrix: before_install: - bundle install # Download and install postgresql version to test against in /opt (for non-cross compile only) - - echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list + - echo "deb http://apt.postgresql.org/pub/repos/apt/ ${TRAVIS_DIST}-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - - sudo apt -y update - sudo apt -y --allow-downgrades install postgresql-$PGVERSION libpq5=$PGVERSION* libpq-dev=$PGVERSION* - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH script: - - bundle exec rake compile test PG_DEBUG=1 + - bundle exec rake compile test PG_DEBUG=0 after_failure: - "find tmp -name mkmf.log | xargs cat"