aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-09-21 19:48:17 +0200
committerThéo Zimmermann2018-09-21 20:45:14 +0200
commitc7050b099e13ed41773e0294daa27f35a76ea779 (patch)
treeaf9c38a0e6b3e6521f8a2839ca6c7cbbc81720e7
parent88ae7e74b576b83180a957ff96e24625222e0369 (diff)
Fix Travis CI by pinning brew OPAM package to version 1.2.2.
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 766c76c29c..1a2c909c7d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -166,7 +166,9 @@ matrix:
before_install:
- brew update
- brew unlink python
- - brew install opam gnu-time
+ - brew install gnu-time
+ # only way to continue using OPAM 1.2
+ - brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/d156edeeed7291f4bc1e08620b331bbd05d52b78/Formula/opam.rb
- if: NOT (type = pull_request)
os: osx
@@ -183,7 +185,9 @@ matrix:
before_install:
- brew update
- brew unlink python
- - brew install opam gnu-time gtk+ expat gtksourceview gdk-pixbuf
+ - brew install gnu-time gtk+ expat gtksourceview gdk-pixbuf
+ # only way to continue using OPAM 1.2
+ - brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/d156edeeed7291f4bc1e08620b331bbd05d52b78/Formula/opam.rb
- brew unlink python@2
- brew install python3
- pip3 install macpack