提交 57b8df92 编写于 作者: A Andrea Bolognani

travis: Uninstall packages before upgrade

numpy (needed by cgal) started having the same issue with
linking as python, which makes upgrade and thus the entire
build fail on macOS.

Instead of playing more tricks with linking/unlinking, just
uninstall the problematic packages (and those dragging them
in) before doing anything else.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 2c4affd5
......@@ -21,10 +21,10 @@ matrix:
- compiler: clang
os: osx
before_install:
- brew uninstall python mercurial postgis sfcgal cgal gdal
- brew update
- brew unlink python
- brew upgrade
- brew install rpcgen yajl
- brew install python rpcgen yajl
script:
# We can't run make distcheck/syntax-check because they
# fail on macOS, but doing 'install' and 'dist' gives us
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册