Skip to content

Commit 0040739

Browse files
committed
[qa] Change PostgreSQL database port back to default value & Allow peer authentication for user "postgres"
1 parent 191209b commit 0040739

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ before_install:
3737
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
3838
- sudo apt-get update -q
3939
- sudo apt-get install binutils libproj-dev gdal-bin -y
40+
- sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/12/main/postgresql.conf
41+
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/12/main/pg_hba.conf
42+
- sudo systemctl restart postgresql@12-main
43+
- sudo cat /var/log/postgresql/postgresql-12-main.log
4044
- pip install -U pip setuptools wheel
4145
- pip install -U -r requirements-test.txt
4246
install:

0 commit comments

Comments
 (0)