From c57d62c857f30ab0eeb257041bcc6fa1a41a4605 Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Tue, 3 Apr 2018 14:31:24 +0200 Subject: [PATCH] te,porary solution to enable IPv6 on travis-ci in trusty images --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 51745c8819..f2422e979b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js -sudo: false +sudo: required env: - CXX=g++-4.8 TRAVIS=true addons: @@ -15,3 +15,9 @@ node_js: - "6" - "8" after_success: npm run coveralls +before_script: + # Add an IPv6 config - see the corresponding Travis issue + # https://github.com/travis-ci/travis-ci/issues/8361 + - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then + sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; + fi