From f1b04f92020e95fce969f359fdfe5cf4cc1798de Mon Sep 17 00:00:00 2001 From: Miguel Silva Date: Thu, 6 Jun 2019 16:14:48 +0100 Subject: [PATCH] Hotfix: fixes psycopg2 binary installation --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bb3e3c0..50fea6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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-binary<2.8; fi + - if [[ $DB == postgres ]]; then pip install -q 'psycopg2-binary<2.8'; fi - pip install $WAGTAIL - pip install -e . script: