use travis_retry with apt-get commands

Avoid spurious failures on connectivity issues.
This commit is contained in:
Adrian Sampson 2014-03-06 11:06:56 -08:00
parent b8af77bdea
commit 71e1f00d03

View file

@ -13,8 +13,8 @@ install:
- travis_retry pip install pylast flask
# unittest backport on Python < 2.7
- "[[ $TRAVIS_PYTHON_VERSION == '2.6' ]] && pip install unittest2 || true"
- sudo apt-get update
- sudo apt-get install -qq bash-completion
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install -qq bash-completion
script: nosetests --with-coverage --cover-package=beets