Skip to content

Commit

Permalink
Fix postgresql 11 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
M1hacka committed Mar 25, 2019
1 parent 0bb9ae2 commit 11da6a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ matrix:
env: DJANGO=1.10 PG=11

before_install:
# Use default PostgreSQL 11 port
- sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/11/main/postgresql.conf
- sudo cp /etc/postgresql/{10,11}/main/pg_hba.conf

# Start PostgreSQL version we need
- sudo systemctl stop postgresql@11-main && sudo systemctl start postgresql@$PG-main
- sudo systemctl stop postgresql && sudo systemctl start postgresql@$PG-main

# Install postgres hll
- sudo apt-get install postgresql-$PG-hll
Expand Down

0 comments on commit 11da6a7

Please sign in to comment.