summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-06-30 17:21:15 +0530
committerMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-06-30 17:21:15 +0530
commit6fed46ef3bd3031cffd794134e7202260554ea18 (patch)
tree4dd53f66e40f2142d1ee2be3b05c002134577397
parenta65c135d48c74880c2935c098f425f9a2712c5d1 (diff)
downloadgluster-6fed46ef3bd3031cffd794134e7202260554ea18.tar.gz
gluster-6fed46ef3bd3031cffd794134e7202260554ea18.tar.bz2
gluster-6fed46ef3bd3031cffd794134e7202260554ea18.tar.xz
gluster-6fed46ef3bd3031cffd794134e7202260554ea18.zip
Pull docker from download.docker.com rather than apt.dockerproject.org
Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 88f5090..a632067 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,8 +11,10 @@ services:
- docker
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
- docker build -t gluster/client ./gluster-client/
- docker run -it --name client gluster/client rpm -qa | grep gluster
- docker build -t gluster/centos ./CentOS/