aboutsummaryrefslogtreecommitdiff
path: root/ci/before_script.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-04-25 20:20:37 -0400
committerGitHub <noreply@github.com>2020-04-25 17:20:37 -0700
commit1b42e95ece3a062b66f34d9f5f4509fcc9e161f1 (patch)
treeb7f542017ef66c7a7430676bd6e24493fde5fbee /ci/before_script.sh
parentef0398fe88e6cc74f33fb20519997774168d7832 (diff)
downloadrneovim-1b42e95ece3a062b66f34d9f5f4509fcc9e161f1.tar.gz
rneovim-1b42e95ece3a062b66f34d9f5f4509fcc9e161f1.tar.bz2
rneovim-1b42e95ece3a062b66f34d9f5f4509fcc9e161f1.zip
ci/travis: Enable ipv6 #12182
ref: a39c8b7ce30ddeed4329c28c42b1b699103dccab ref: https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c Also: - Remove unused macos_rvm_dance() function. (It was there for reference, but we have since resolved (or gave up) on Travis + macOS + ruby.
Diffstat (limited to 'ci/before_script.sh')
-rwxr-xr-xci/before_script.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh
index a0e87adb9e..1759dbe942 100755
--- a/ci/before_script.sh
+++ b/ci/before_script.sh
@@ -10,6 +10,12 @@ fi
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${CI_DIR}/common/build.sh"
+# Enable ipv6 on Travis. ref: a39c8b7ce30d
+if ! test "${TRAVIS_OS_NAME}" = osx ; then
+ echo "before_script.sh: enable ipv6"
+ sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
+fi
+
# Test some of the configuration variables.
if [[ -n "${GCOV}" ]] && [[ ! $(type -P "${GCOV}") ]]; then
echo "\$GCOV: '${GCOV}' is not executable."