1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

te,porary solution to enable IPv6 on travis-ci in trusty images

This commit is contained in:
Ingo Fischer
2018-04-03 14:31:24 +02:00
committed by Ruben Bridgewater
parent 45166f782d
commit c57d62c857

View File

@@ -1,5 +1,5 @@
language: node_js
sudo: false
sudo: required
env:
- CXX=g++-4.8 TRAVIS=true
addons:
@@ -15,3 +15,9 @@ node_js:
- "6"
- "8"
after_success: npm run coveralls
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi