diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 19:52:37 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 19:52:38 +0900 |
commit | 1bec27f05bd40b03b6b7c8cd16a74d9096491e37 (patch) | |
tree | 49dd81926296efb31c44894a7d7b92e6ace5bd76 /.travis.yml | |
parent | f9149c5596e1317687d6f58b14e6f3ee89bc7f2e (diff) |
Add exec to apt-get update
to propagate exit status to travis_retry properly.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 710bb4ac81..fc8249370d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,7 +92,7 @@ env: # - ubuntu-toolchain-r-test before_install: - tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test" - - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && sudo apt-get update -yq" + - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq" - |- tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \ gcc-8 \ @@ -119,7 +119,7 @@ env: config: retries: true before_install: - - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && sudo apt-get update -yq" + - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq" - |- tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \ clang-8 \ @@ -278,7 +278,7 @@ env: # - ubuntu-toolchain-r-test before_install: - tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test" - - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && sudo apt-get update -yq" + - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq" - |- tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \ gcc-8-multilib \ |