diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-01 01:26:56 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-02 23:44:22 +0900 |
commit | 3dd4d8eca8c1d20819fb58fa863b83bd348cf411 (patch) | |
tree | 885c79139bfbbab80304af284f5fd0a2c5dba1e2 /.travis.yml | |
parent | 50bb860acd3ea200be5261335c5ccb1300bacfae (diff) | |
download | thrift-3dd4d8eca8c1d20819fb58fa863b83bd348cf411.tar.gz |
THRIFT-3698 [Travis-CI] Introduce retry to apt commands
This closes #913
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |