From 59b88068596a40f5eb42a339c9a53064dbb6733d Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Mon, 5 Dec 2016 09:33:44 -0500 Subject: [PATCH] Travis-CI's apt-get doesn't have --allow-downgrades yet, which is annoying because --force-yes is deprecated --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 18ac9d9..5386261 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: # list docker-engine versions - apt-cache madison docker-engine # upgrade docker-engine to specific version - - sudo apt-get -o Dpkg::Options::="--force-confnew" --allow-downgrades install -y docker-engine=${DOCKER_VERSION} + - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-engine=${DOCKER_VERSION} - docker version - docker info - sudo add-apt-repository ppa:duggan/bats --yes