diff --git a/.travis.yml b/.travis.yml index 81870b61..a6c690e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -173,11 +173,14 @@ matrix: before_install: # Get newer docker version - max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get update; then break; else i=$((i+1)); fi done - - max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine; then break; else i=$((i+1)); fi done + - max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce; then break; else i=$((i+1)); fi done # Get newer docker-compose version - curl -L --retry 100 --retry-max-time 0 https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv -f docker-compose /usr/local/bin + # List versions + - docker version + - docker-compose version ###