aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-03 00:55:11 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-03 00:55:37 +0900
commit4eb54c49f762031df71addd525f015e5e25ffa0c (patch)
tree52381e2d117f65d1f5a38056dc766ba37855a22a /.travis.yml
parent536ba7c81e72c365e92b9db3a80065b89b8b535b (diff)
downloadruby-4eb54c49f762031df71addd525f015e5e25ffa0c.tar.gz
Stop using homebrew addon
to control erros on our own.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 16 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index a0ebd49dd2..15818252d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,15 +45,9 @@ addons:
- openssl
- valgrind
- zlib1g-dev
- homebrew:
- update: true
- packages:
- - gdbm
- - gmp
- - libffi
- - openssl@1.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:
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.1 \
+ zlib
- /usr/local/opt/openssl@1.1/bin/openssl version
- &clang-8