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

ruby-changes:56771

From: Takashi <ko1@a...>
Date: Sat, 3 Aug 2019 00:55:56 +0900 (JST)
Subject: [ruby-changes:56771] Takashi Kokubun: 4eb54c49f7 (master): Stop using homebrew addon

https://git.ruby-lang.org/ruby.git/commit/?id=4eb54c49f7

From 4eb54c49f762031df71addd525f015e5e25ffa0c Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Sat, 3 Aug 2019 00:55:11 +0900
Subject: Stop using homebrew addon

to control erros on our own.

diff --git a/.travis.yml b/.travis.yml
index a0ebd49..1581825 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,15 +45,9 @@ addons: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L45
       - openssl
       - valgrind
       - zlib1g-dev
-  homebrew:
-    update: true
-    packages:
-      - gdbm
-      - gmp
-      - libffi
-      - openssl@1...
-      - zlib
-      - ccache
+  # # Travis homebrew addon is unstable for now. Use `before_install` instead.
+  # # https://travis-ci.community/t/osx-homebrew-addons-module-not-as-reliable-as-claimed/4054
+  # homebrew:
 
 cache:
   ccache: true
@@ -97,6 +91,19 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L91
     compiler: clang
     before_install:
       - gem uninstall ntlm-http plist -x --force
+      # `brew update` on Travis randomly hangs
+      - |-
+        timeout 300 brew update ||
+        timeout 300 brew update ||
+        timeout 300 brew update
+      - |-
+        brew install \
+          ccache \
+          gdbm \
+          gmp
+          libffi \
+          openssl@1... \
+          zlib
       - /usr/local/opt/openssl@1.../bin/openssl version
 
   - &clang-8
-- 
cgit v0.10.2


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

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