Used travis_retry in order to avoid build failures due to network errors.

This commit is contained in:
Omer Katz
2015-02-02 07:18:29 +02:00
parent e89f6e489d
commit 7fd2a391a5

View File

@@ -15,12 +15,12 @@ compiler: gcc
before_install: before_install:
- buildutils/setup_travis.sh - buildutils/setup_travis.sh
- pip install -U setuptools - travis_retry pip install -U setuptools
- pip install cython - travis_retry pip install cython
- pip install pytest - travis_retry pip install pytest
install: install:
- pip install --editable . - travis_retry pip install --editable .
# skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason # skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason
script: if [[ $TRAVIS_PYTHON_VERSION != 'pypy' || $BUILD_CAPNP == 'true' ]]; then py.test test; fi script: if [[ $TRAVIS_PYTHON_VERSION != 'pypy' || $BUILD_CAPNP == 'true' ]]; then py.test test; fi