From 9fd98c97defdcd39497c9d78925425cf7b9db053 Mon Sep 17 00:00:00 2001 From: Mikolaj Walczak Date: Mon, 13 Aug 2018 05:28:42 -0700 Subject: Require sudo for integration tests --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 142bea8..3876f7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go -sudo: false +sudo: required go: - "1.8" @@ -11,6 +11,11 @@ go: before_install: - go get -t -v ./... +before_script: + - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then + sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; + fi + script: - ./.travis/tests.sh -- cgit v1.2.3