Update CI to PostgreSQL-14.0

... and disable PG_DEBUG, since the TcpGateScheduler seems to run well now.
This commit is contained in:
Lars Kanis 2021-10-01 22:56:34 +02:00
parent eae57e0a2e
commit 33d2910bb6
4 changed files with 14 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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