From 26d7fb01ed503b3a77bfa3928fe11f967569a0ee Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 29 Jun 2017 09:25:24 +0800 Subject: [PATCH 1/2] 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 From 70e01125fd72b47fab49afb95ff47134cd6cc9a4 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 29 Jun 2017 09:30:37 +0800 Subject: [PATCH 2/2] fixing package docker-engine is not available. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 87a8450..f54fc73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,7 @@ before_install: - 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 install docker-ce + - docker version script: ./travis-build.sh