Merge pull request #59 from thedrow/patch-1

Use travis_retry in order to avoid network failures.
This commit is contained in:
Dave Hall 2014-07-31 17:42:40 +01:00
commit fb446b611c

View file

@ -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