mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
I forgot the tests are 9.6+
This commit is contained in:
parent
c4de74fea2
commit
883e604d0e
@ -22,13 +22,14 @@ before_install:
|
||||
- echo "host replication pgx_replication 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf
|
||||
- echo "host pgx_test pgx_replication 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf
|
||||
- sudo chmod 777 /etc/postgresql/$PGVERSION/main/postgresql.conf
|
||||
- "[[ $PGVERSION < 9.4 ]] || echo \"wal_level='logical'\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION < 9.4 ]] || echo \"max_wal_senders=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION < 9.4 ]] || echo \"max_replication_slots=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION < 9.6 ]] || echo \"wal_level='logical'\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION < 9.6 ]] || echo \"max_wal_senders=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- "[[ $PGVERSION < 9.6 ]] || echo \"max_replication_slots=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf"
|
||||
- sudo /etc/init.d/postgresql restart
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- PGVERSION=9.6
|
||||
- PGVERSION=9.5
|
||||
- PGVERSION=9.4
|
||||
- PGVERSION=9.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user