aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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