tests: disable ipv6 for linux s390x.

This commit is contained in:
jiahao 2023-03-22 23:54:10 +08:00
parent 9e5b857fae
commit 84109d8e3b
No known key found for this signature in database
GPG Key ID: 5E01169275FFB52B
1 changed files with 2 additions and 0 deletions

View File

@ -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