Skip to content
Permalink
Browse files

travis: enable the option 'retries' for apt-get

It will enable capability to retry during network issue.
  • Loading branch information
jpereira authored and alandekok committed Aug 5, 2019
1 parent ed3e7fd commit 26adce591e13283be5e84d96ed9f3d5200f3aafe
Showing with 3 additions and 2 deletions.
  1. +3 −2 .travis.yml
@@ -41,6 +41,8 @@ addons:
branch_pattern: coverity_scan
postgresql: '10'
apt:
config:
retries: true
sources:
- llvm-toolchain-xenial-7
# For newer GCC
@@ -128,6 +130,5 @@ before_install:
before_script:
- ./scripts/travis/build.sh
script:
- if [ "${DO_BUILD}" = 'yes' -a "${COVERITY_SCAN_BRANCH}" != 1 ]; then make travis-test;
fi
- if [ "${DO_BUILD}" = 'yes' -a "${COVERITY_SCAN_BRANCH}" != 1 ]; then make travis-test; fi
- if [ "${DO_BUILD}" = 'no' ]; then make tests.doc; fi

0 comments on commit 26adce5

Please sign in to comment.
You can’t perform that action at this time.