Browse Source

ci: Only setup ipv6 on macOS for Travis

pull/13373/head
James McCoy 2 months ago
parent
commit
be9bd43502
No known key found for this signature in database GPG Key ID: DFE691AE331BA3DB
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ci/before_script.sh

+ 1
- 1
ci/before_script.sh View File

@ -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

Loading…
Cancel
Save