Skip to content

Commit 1cd922e

Browse files
committed
Fix IPv6 in Travis
1 parent f0ada14 commit 1cd922e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ sudo: false
33
node_js:
44
- "node"
55
before_script:
6+
# Add an IPv6 config - see the corresponding Travis issue
7+
# https://github.com/travis-ci/travis-ci/issues/8361
8+
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
9+
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
10+
fi
611
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start

0 commit comments

Comments
 (0)