diff --git a/.travis.yml b/.travis.yml index 27e9a96cac..22f0716d77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,8 @@ env: - TEST="bash ./scripts/travis_rosetta_checker.sh" # upgrade docker to latest stable version -addons: - apt: - sources: - - sourceline: deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable - packages: - - docker.io +before_install: + - echo "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null install: # default working directory with source code is automatically set to