[前][次][番号順一覧][スレッド一覧]

ruby-changes:60458

From: Jun <ko1@a...>
Date: Sat, 21 Mar 2020 11:51:59 +0900 (JST)
Subject: [ruby-changes:60458] 86ca640287 (master): Enablie IPv6 on Travis s390s case again.

https://git.ruby-lang.org/ruby.git/commit/?id=86ca640287

From 86ca640287eccc8426b87903cac1ec428d7ede8b Mon Sep 17 00:00:00 2001
From: Jun Aruga <jaruga@r...>
Date: Wed, 18 Mar 2020 14:31:11 +0100
Subject: Enablie IPv6 on Travis s390s case again.

It seems the issue was fixed by Travis.
See https://travis-ci.community/t/6719/5 .

diff --git a/.travis.yml b/.travis.yml
index ab2edd1..e26fe1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -133,8 +133,6 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L133
     name: s390x-linux
     arch: s390x
     <<: *gcc-8
-    env:
-      - BEFORE_INSTALL="tool/travis_disable_ipv6.sh"
 
   - &jemalloc
     name: --with-jemalloc
diff --git a/tool/travis_disable_ipv6.sh b/tool/travis_disable_ipv6.sh
deleted file mode 100755
index 97ba179..0000000
--- a/tool/travis_disable_ipv6.sh
+++ /dev/null
@@ -1,11 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/.travis.yml#L0
-#!/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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]