From 3dd4d8eca8c1d20819fb58fa863b83bd348cf411 Mon Sep 17 00:00:00 2001 From: Nobuaki Sukegawa Date: Tue, 1 Mar 2016 01:26:56 +0900 Subject: THRIFT-3698 [Travis-CI] Introduce retry to apt commands This closes #913 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 9946d5d5f..6b9996592 100644 --- a/.travis.yml +++ b/.travis.yml @@ -159,8 +159,8 @@ matrix: # some info about the build machine - env: TEST_NAME="cppcheck, flake8, TODO FIXME HACK, LoC and system info" install: - - sudo apt-get update - - sudo apt-get install -y cppcheck sloccount python-flake8 + - travis_retry sudo apt-get update + - travis_retry sudo apt-get install -ym cppcheck sloccount python-flake8 script: # Compiler cppcheck (All) - cppcheck --force --quiet --inline-suppr --enable=all -j2 compiler/cpp/src -- cgit v1.2.1