mirror of
https://github.com/neovim/neovim.git
synced 2025-12-08 15:42:52 +00:00
ci: Only setup ipv6 on macOS for Travis
This commit is contained in:
@@ -7,7 +7,7 @@ CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
source "${CI_DIR}/common/build.sh"
|
source "${CI_DIR}/common/build.sh"
|
||||||
|
|
||||||
# Enable ipv6 on Travis. ref: a39c8b7ce30d
|
# 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"
|
echo "before_script.sh: enable ipv6"
|
||||||
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
|
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user