From 71e1f00d03fea70251816a8e2772af40444175e2 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 6 Mar 2014 11:06:56 -0800 Subject: [PATCH] use travis_retry with apt-get commands Avoid spurious failures on connectivity issues. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a2077b7b2..0d4a79454 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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