Try using built-in apt source for gcc-8

58a373e9ed54556e18a13825dfe72d3f7a86b833 and
3868df83330bb897be996604df3862639abbf002
didn't work.
This commit is contained in:
Takashi Kokubun 2019-08-31 17:18:00 +09:00
parent 3868df8333
commit 8897fa60fd
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -85,14 +85,12 @@ env:
- &gcc-8 - &gcc-8
compiler: gcc-8 compiler: gcc-8
# # Not using addon to control retries addons:
# addons: apt:
# apt: sources:
# sources: - ubuntu-toolchain-r-test
# - 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 "${BEFORE_APT_GET_UPDATE}; 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 \
gcc-8 \ gcc-8 \
@ -352,9 +350,6 @@ 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
env:
# for `apt-get update` error on trusty
- BEFORE_APT_GET_UPDATE="apt-get install debian-keyring debian-archive-keyring"
- &x86_64-darwin18 - &x86_64-darwin18
name: x86_64-darwin18 name: x86_64-darwin18