Merge pull request #45 from thedrow/patch-2

Used travis_retry in order to avoid build failures due to network errors
This commit is contained in:
Jason Paryani
2015-02-01 21:36:16 -08:00

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