mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-03-16 22:00:22 +00:00
Merge pull request #59 from thedrow/patch-1
Use travis_retry in order to avoid network failures.
This commit is contained in:
commit
fb446b611c
1 changed files with 3 additions and 3 deletions
|
|
@ -50,9 +50,9 @@ services:
|
|||
- postgresql
|
||||
- mysql
|
||||
install:
|
||||
- pip install $DJANGO
|
||||
- if [[ "$DB_ENGINE" == "django.db.backends.postgresql_psycopg2" ]] ; then pip install psycopg2; fi
|
||||
- if [[ "$DB_ENGINE" == "django.db.backends.mysql" ]] ; then pip install MySQL-python; fi
|
||||
- travis_retry pip install $DJANGO
|
||||
- if [[ "$DB_ENGINE" == "django.db.backends.postgresql_psycopg2" ]] ; then travis_retry pip install psycopg2; fi
|
||||
- if [[ "$DB_ENGINE" == "django.db.backends.mysql" ]] ; then travis_retry pip install MySQL-python; fi
|
||||
- python setup.py -q install
|
||||
before_script:
|
||||
- if [[ "$DB_ENGINE" == "django.db.backends.mysql" ]] ; then mysql -e 'create database test_project'; fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue