Skip to content

Commit

Permalink
PostgreSQL 12 is running on different port in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 21, 2020
1 parent 8d6bfef commit f79fb72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ addons:
- postgresql-12
- postgresql-server-dev-12

env:
global:
- PGPORT=5433

services:
- postgresql

before_script:
- echo "dbport = 5433" > tests/LOCAL_PyGreSQL.py
- psql -U postgres -c 'create database unittest'

0 comments on commit f79fb72

Please sign in to comment.