From 98d78f143bcd1fc685797b63c2006454840fbce6 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 27 Apr 2016 11:21:37 +0100 Subject: [PATCH] Travis: Add travis_retry to make apt-get commands persistent --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f985fe..2cc8c2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ dist: trusty before_install: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - - sudo apt-get update -q - - sudo apt-get install g++-4.9 cmake libasound2-dev -y + - travis_retry sudo apt-get update -q + - travis_retry sudo apt-get install g++-4.9 cmake libasound2-dev -y - export CXX="g++-4.9" CC="gcc-4.9" script: - mkdir build