From 6b655af4eb570c8aa7c4cb023c865d3daa9bf907 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Sat, 20 Jan 2018 20:08:55 -0300 Subject: [PATCH] Enable ipv6 for docker in linux build Move setup from .travis.yml to /bin/ci --- .travis.yml | 2 -- bin/ci | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b6ab04e5d6ff..a777b679f60b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,6 @@ matrix: os: linux before_install: - - echo '{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json - - sudo service docker restart - bin/ci prepare_system install: diff --git a/bin/ci b/bin/ci index 07e9d8b934b6..575d61127228 100755 --- a/bin/ci +++ b/bin/ci @@ -78,6 +78,9 @@ on_osx() { } prepare_system() { + on_linux 'echo '"'"'{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}'"'"' | sudo tee /etc/docker/daemon.json' + on_linux sudo service docker restart + on_osx brew update on_deploy sudo pip install awscli }