From 20f6ff3b371d480c63c1ae2bd5b70edb6da9d584 Mon Sep 17 00:00:00 2001 From: Federico Panini Date: Sat, 9 Sep 2017 18:59:13 +0200 Subject: [PATCH] update .travis to latest docker version 17.07 (#1373) - Docker has been upgraded on travis trusty images to 17.06, I updated our file, which used an older version 17.03 and forces a DOWNGRADE during deploy caused travis to fail. - docker-compose has been updated too, version now 1.16.1 which support compose version **3.3** This PR solve the problem that all the builds will fail on Travis --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b78247add4..8878845869 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,21 +16,21 @@ env: - TARGET="71" before_install: + # check running "docker engine" and "docker-compose" version on travis + - docker --version + - docker-compose --version + # list docker-engine versions, usefull to update the docker engine on travis and trusty - #- apt-cache madison docker-engine +# - sudo apt-cache madison docker-engine # update docker engine to the desired version - - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-ce=17.03.1~ce-0~ubuntu-trusty + - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-ce=17.07.0~ce-0~ubuntu - sudo rm /usr/local/bin/docker-compose - - curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > docker-compose + - curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - # check running "docker engine" and "docker-compose" version on travis - - docker --version - - docker-compose --version - before_script: - sudo sysctl -w vm.max_map_count=262144