summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.travis/linux-prepare.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index e546d32cb..9e3ac0df7 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -20,3 +20,8 @@ if [ "$M32" ]; then
# This will remove the 64-bit libunwind and install 32-bit version.
sudo apt-get install -y libunwind-dev:i386
fi
+
+# IPv6 is supported by kernel but disabled in TravisCI images:
+# https://github.com/travis-ci/travis-ci/issues/8891
+# Enable it to avoid skipping of IPv6 related tests.
+sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0