1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-12-25 12:06:31 +00:00

Travis-CI's apt-get doesn't have --allow-downgrades yet, which is annoying because --force-yes is deprecated

This commit is contained in:
Steve Kamerman 2016-12-05 09:33:44 -05:00
parent 271729aaaa
commit 59b8806859

View File

@ -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