Skip to content

Commit

Permalink
Enable ipv6 for docker in linux build
Browse files Browse the repository at this point in the history
Move setup from .travis.yml to /bin/ci
  • Loading branch information
bcardiff committed Jan 29, 2018
1 parent 6418ee4 commit 6b655af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6b655af

Please sign in to comment.