Used psycopg2-binary instead of deprecated psycopg2 name.

This commit is contained in:
Mariusz Felisiak 2019-02-18 12:10:34 +01:00
parent 41eb6940d4
commit cf97b99e39
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B

View file

@ -40,7 +40,7 @@ before_script:
- psql -c 'create database modeltranslation;' -U postgres
install:
- if [[ $DB == mysql ]]; then pip install -q mysqlclient; fi
- if [[ $DB == postgres ]]; then pip install -q psycopg2; fi
- if [[ $DB == postgres ]]; then pip install -q psycopg2-binary; fi
- pip install -q Pillow
- IDJANGO=$(./travis.py $DJANGO)
- pip install -q $IDJANGO