Skip to content

Commit c57d62c

Browse files
Apollon77BridgeAR
authored andcommitted
te,porary solution to enable IPv6 on travis-ci in trusty images
1 parent 45166f7 commit c57d62c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
2-
sudo: false
2+
sudo: required
33
env:
44
- CXX=g++-4.8 TRAVIS=true
55
addons:
@@ -15,3 +15,9 @@ node_js:
1515
- "6"
1616
- "8"
1717
after_success: npm run coveralls
18+
before_script:
19+
# Add an IPv6 config - see the corresponding Travis issue
20+
# https://github.com/travis-ci/travis-ci/issues/8361
21+
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
22+
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
23+
fi

0 commit comments

Comments
 (0)