Skip to content

Commit

Permalink
.travis.yml: Add travis_retry to pip commands
Browse files Browse the repository at this point in the history
to try to recover if there is a network blip
  • Loading branch information
msabramo committed Jan 28, 2015
1 parent 7ea5f95 commit 6f62ccb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ python:
- 3.4
before_install:
- sudo apt-get install freetds-dev
- pip install --use-mirrors pytest SQLAlchemy
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- pip install Sphinx sphinx-rtd-theme
- travis_retry pip install --use-mirrors pytest SQLAlchemy
- travis_retry pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- travis_retry pip install Sphinx sphinx-rtd-theme
- pip --version
- pip install --use-wheel Cython
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
- travis_retry pip install --use-wheel Cython
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install unittest2; fi"
install:
- python setup.py install
script:
Expand Down

0 comments on commit 6f62ccb

Please sign in to comment.