mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-09 22:04:48 +00:00
Fixed pip installation of mysql module.
This commit is contained in:
parent
23cd10432b
commit
c4f146cc49
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue