From 944b8c73d0a6dd83d90b4faf3f9e2de5ae534c92 Mon Sep 17 00:00:00 2001 From: Soph <35721420+sophoah@users.noreply.github.com> Date: Thu, 3 Aug 2023 16:49:37 +0700 Subject: [PATCH] [build] upgrade docker in travis using addons (#4481) * [build] upgrade docker in travis using addons * [build] upgrade docker in travis with debug command * [build] retrying addons * [build] debug log * [build] clean debug log --- .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2c32a49183..27e9a96cac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,12 +13,13 @@ env: - TEST="bash ./scripts/travis_rpc_checker.sh" - TEST="bash ./scripts/travis_rosetta_checker.sh" -before_install: - # upgrade docker to the latest supported by the OS loaded in the travis image - - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - - sudo add-apt-repository --yes "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - - sudo apt-get update - - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce +# upgrade docker to latest stable version +addons: + apt: + sources: + - sourceline: deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable + packages: + - docker.io install: # default working directory with source code is automatically set to