Limit the apt addon enablement to trusty
8897fa60fdbc83f9cce7df384893e902c17c1bf2 worked. But we want to retry that part and this commit is trying to fix the problem.
This commit is contained in:
parent
8897fa60fd
commit
602fbd4338
14
.travis.yml
14
.travis.yml
@ -85,11 +85,13 @@ env:
|
|||||||
|
|
||||||
- &gcc-8
|
- &gcc-8
|
||||||
compiler: gcc-8
|
compiler: gcc-8
|
||||||
addons:
|
# # Not using addon to control retries
|
||||||
apt:
|
# addons:
|
||||||
sources:
|
# apt:
|
||||||
- ubuntu-toolchain-r-test
|
# sources:
|
||||||
|
# - ubuntu-toolchain-r-test
|
||||||
before_install:
|
before_install:
|
||||||
|
- tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
||||||
- tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
|
- tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
|
||||||
- |-
|
- |-
|
||||||
tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
|
tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
|
||||||
@ -350,6 +352,10 @@ env:
|
|||||||
dist: trusty # xenial no longer has ruby-1.9.3
|
dist: trusty # xenial no longer has ruby-1.9.3
|
||||||
language: ruby
|
language: ruby
|
||||||
rvm: 1.9.3
|
rvm: 1.9.3
|
||||||
|
# For some reason, enabling apt addon seems to be required to pass `apt-get update` on trusty.
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources: []
|
||||||
|
|
||||||
- &x86_64-darwin18
|
- &x86_64-darwin18
|
||||||
name: x86_64-darwin18
|
name: x86_64-darwin18
|
||||||
|
Loading…
x
Reference in New Issue
Block a user