From c4de74fea2462098e6c86f2156ad71f86f6fc527 Mon Sep 17 00:00:00 2001 From: Kris Wehner Date: Thu, 5 Jan 2017 10:04:58 -0800 Subject: [PATCH] One more try for travis --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95cd9d8e..02bf3c50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,11 @@ before_install: - echo "host all pgx_pw 127.0.0.1/32 password" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf - echo "hostssl all pgx_ssl 127.0.0.1/32 md5" >> /etc/postgresql/$PGVERSION/main/pg_hba.conf - 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.3 ]] && echo \"wal_level='logical'\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf" - - "[[ $PGVERSION > 9.3 ]] && echo \"max_wal_senders=5\" >> /etc/postgresql/$PGVERSION/main/postgresql.conf" - - "[[ $PGVERSION > 9.3 ]] && echo \"max_replication_slots=5\" >> /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" - sudo /etc/init.d/postgresql restart env: