From 26d7fb01ed503b3a77bfa3928fe11f967569a0ee Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 29 Jun 2017 09:25:24 +0800 Subject: [PATCH] fixing package docker-engine is not available. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 03e4e58..87a8450 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,8 +41,10 @@ env: # Installing a newer Docker version before_install: + - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - sudo apt-get update - - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine + - sudo apt-get -y install docker-ce script: ./travis-build.sh