ruby-changes:56960
From: Takashi <ko1@a...>
Date: Mon, 12 Aug 2019 19:53:10 +0900 (JST)
Subject: [ruby-changes:56960] Takashi Kokubun: 1bec27f05b (master): Add exec to apt-get update
https://git.ruby-lang.org/ruby.git/commit/?id=1bec27f05b From 1bec27f05bd40b03b6b7c8cd16a74d9096491e37 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Mon, 12 Aug 2019 19:52:37 +0900 Subject: Add exec to apt-get update to propagate exit status to travis_retry properly. diff --git a/.travis.yml b/.travis.yml index 710bb4a..fc82493 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,7 +92,7 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L92 # - 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: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L119 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: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L278 # - 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 \ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/