Skip to content

Commit

Permalink
Travis: Remove conflicting postgresql versions again
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Sep 25, 2020
1 parent 2aa0dad commit 31994a9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,15 @@ script:
addons:
# test with last version that still supports OIDs
postgresql: "11"
apt:
packages:
- postgresql-11
- postgresql-client-11

services:
- postgresql

before_script:
- sudo service postgresql stop
- sudo apt-get remove -y postgresql\*
- sudo apt-get install postgresql-11 postgresql-client-11
- sudo -u postgres sed -i "s/port = 54[0-9][0-9]/port = 5432/" /etc/postgresql/11/main/postgresql.conf
- sudo service postgresql start 11
- sudo cat /etc/postgresql/11/main/pg_hba.conf
- sudo -u postgres psql -c 'create database unittest'

0 comments on commit 31994a9

Please sign in to comment.