aboutsummaryrefslogtreecommitdiff
path: root/ci/before_script.sh
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-24 22:42:40 -0500
committerGitHub <noreply@github.com>2020-11-24 22:42:40 -0500
commit11e64de511461999b95feaaa4880a820604a7138 (patch)
treef2a93092b54171a9e329461986633502e2eb8733 /ci/before_script.sh
parent7caa622afcbbc1f789c24a3f29525759486208da (diff)
parent0bb565b13bcc7a199bf997a67b9a6039d584b84e (diff)
downloadrneovim-11e64de511461999b95feaaa4880a820604a7138.tar.gz
rneovim-11e64de511461999b95feaaa4880a820604a7138.tar.bz2
rneovim-11e64de511461999b95feaaa4880a820604a7138.zip
Merge pull request #13373 from jamessan/github-actions
Diffstat (limited to 'ci/before_script.sh')
-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