From c4f146cc499c60d0a1f9d9ffabd279756fb606f4 Mon Sep 17 00:00:00 2001 From: Dirk Eschler Date: Thu, 13 Apr 2017 14:08:15 +0200 Subject: [PATCH] Fixed pip installation of mysql module. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7033524..de8455e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ before_script: - mysql -e 'create database modeltranslation;' - psql -c 'create database modeltranslation;' -U postgres install: - - if [[ $DB == mysql ]] && [[ ${PYTHON:0:1} == "2" ]]; then echo "mysql-python"; elif [[ $DB == mysql ]] && [[ ${PYTHON:0:1} == "3" ]]; then echo "mysqlclient"; fi + - if [[ $DB == mysql ]] && [[ ${PYTHON:0:1} == "2" ]]; then pip install -q mysql-python; elif [[ $DB == mysql ]] && [[ ${PYTHON:0:1} == "3" ]]; then pip install -q mysqlclient; fi - if [[ $DB == postgres ]]; then pip install -q psycopg2; fi - pip install -q Pillow - IDJANGO=$(./travis.py $DJANGO)