Fixes psycopg2 bug

This commit is contained in:
Miguel Silva 2019-06-06 16:06:43 +01:00
parent bbe19792c9
commit 30a6ada4de

View file

@ -37,7 +37,7 @@ before_script:
install:
- pip install --upgrade -q pip setuptools
- if [[ $DB == mysql ]] && [[ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]]; then pip install -q mysql-python; elif [[ $DB == mysql ]] && [[ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]]; then pip install -q mysqlclient; fi
- if [[ $DB == postgres ]]; then pip install -q psycopg2; fi
- if [[ $DB == postgres ]]; then pip install -q psycopg2-binary<2.8; fi
- pip install $WAGTAIL
- pip install -e .
script: