Skip to content

Commit

Permalink
[build] upgrade docker in travis using addons (#4481)
Browse files Browse the repository at this point in the history
* [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
  • Loading branch information
sophoah committed Aug 3, 2023
1 parent 4978716 commit 944b8c7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 944b8c7

Please sign in to comment.