summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-06-09 15:31:39 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-06-09 15:36:42 -0400
commit53c017416d74f96c49fde361c0a5b774ceac00c6 (patch)
tree590917e23f63070ddd5ed76bdbbcc340cf28af90
parent9f06de212eb53c35ea52781796c58761fcd06de3 (diff)
downloadpytest-runner-53c017416d74f96c49fde361c0a5b774ceac00c6.tar.gz
Disable the (broken) IPv6 in Travis. Ref travis-ci/travis-ci#8361.
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 85540ec..e22ab6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,4 +31,9 @@ cache: pip
install:
- pip install tox tox-venv
+before_script:
+ # Disable IPv6. Ref travis-ci/travis-ci#8361
+ - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
+ sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
+ fi
script: tox