Skip to content

Commit

Permalink
[fix] allow peer authentication for user "postgres" when running CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
hemache committed Nov 11, 2020
1 parent a52ae4b commit ebcba18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ before_install:
- sudo apt-get install binutils libproj-dev gdal-bin -y
- sudo cat /var/log/postgresql/postgresql-12-main.log
- sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/12/main/postgresql.conf
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/12/main/pg_hba.conf
- sudo systemctl restart postgresql@12-main
- sudo cat /var/log/postgresql/postgresql-12-main.log
- pip install -U pip setuptools wheel
Expand Down

0 comments on commit ebcba18

Please sign in to comment.