1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Enablie IPv6 on Travis s390s case again.

It seems the issue was fixed by Travis.
See https://travis-ci.community/t/6719/5 .
This commit is contained in:
Jun Aruga 2020-03-18 14:31:11 +01:00 committed by Yusuke Endoh
parent 7cc7627c2d
commit 86ca640287
Notes: git 2020-03-21 11:52:10 +09:00
2 changed files with 0 additions and 13 deletions

View file

@ -133,8 +133,6 @@ env:
name: s390x-linux
arch: s390x
<<: *gcc-8
env:
- BEFORE_INSTALL="tool/travis_disable_ipv6.sh"
- &jemalloc
name: --with-jemalloc

View file

@ -1,11 +0,0 @@
#!/bin/bash
set -ex
ip a
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
ip a
cat /etc/hosts
sudo ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
cat /etc/hosts