aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-16 22:10:08 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-24 21:26:03 -0500
commitbe9bd43502a4764dda987e552cee00a64370661a (patch)
tree642dbc3e7bf7f084fbd895bc8c3027daa4146215
parent0d7777e9bcf483e161f01937a1000dfb57415b73 (diff)
downloadrneovim-be9bd43502a4764dda987e552cee00a64370661a.tar.gz
rneovim-be9bd43502a4764dda987e552cee00a64370661a.tar.bz2
rneovim-be9bd43502a4764dda987e552cee00a64370661a.zip
ci: Only setup ipv6 on macOS for Travis
-rwxr-xr-xci/before_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh
index 8bab1c4e17..701fe1d9eb 100755
--- a/ci/before_script.sh
+++ b/ci/before_script.sh
@@ -7,7 +7,7 @@ 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
+if test -n "${TRAVIS_OS_NAME}" && ! test "${TRAVIS_OS_NAME}" = osx ; then
echo "before_script.sh: enable ipv6"
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
fi