From 84109d8e3b191c3dbe615324886f9790557fd4b6 Mon Sep 17 00:00:00 2001 From: jiahao Date: Wed, 22 Mar 2023 23:54:10 +0800 Subject: [PATCH] tests: disable ipv6 for linux s390x. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9789479..06d4fe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,8 @@ _linux-s390x: &linux-s390x - libpcre3-dev - mercurial - libpq-dev + before_install: + - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 install: - cpanm --sudo --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1) - if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi