mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-05-28 00:24:02 +00:00
Travis: fix mysql and python 3.3 jobs
This commit is contained in:
parent
539254316c
commit
a34e079305
1 changed files with 3 additions and 2 deletions
|
|
@ -35,9 +35,10 @@ before_script:
|
|||
- mysql -e 'create database wagtail_modeltranslation;'
|
||||
- psql -c 'create database wagtail_modeltranslation;' -U postgres
|
||||
install:
|
||||
- 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 --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 [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install 'Django>=1.8,<1.9'; fi
|
||||
- pip install -q $WAGTAIL
|
||||
- pip install --process-dependency-links -e .
|
||||
script:
|
||||
|
|
|
|||
Loading…
Reference in a new issue