From 45653a850ede7d997ee423819bfe1bb84172e591 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Mon, 8 Aug 2016 16:34:01 +0200 Subject: [PATCH] Fix travis script by using a single line --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2514fc..4d5da0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,11 +31,8 @@ before_install: postgresql-9.5-postgis-scripts # configure it to accept local connections from postgres - - echo -e "# TYPE DATABASE USER ADDRESS METHOD -local all postgres trust -local all all trust -host all all 127.0.0.1/32 trust" \ - | sudo tee /etc/postgresql/9.5/main/pg_hba.conf + - echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \ + | sudo tee /etc/postgresql/9.5/main/pg_hba.conf - sudo service postgresql reload script: