File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 6
6
directories :
7
7
- $HOME/.ccache
8
8
9
- env :
10
- global :
11
- - HOMEBREW_NO_AUTO_UPDATE=1
12
-
13
9
matrix :
14
10
include :
15
11
- os : linux
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ if [ -n "$IS_OSX" ]; then
22
22
export CFLAGS=" ${CFLAGS:- $ARCH_FLAGS } "
23
23
export CXXFLAGS=" ${CXXFLAGS:- $ARCH_FLAGS } "
24
24
export FFLAGS=" ${FFLAGS:- $ARCH_FLAGS } "
25
+
26
+ # Disable homebrew auto-update
27
+ export HOMEBREW_NO_AUTO_UPDATE=1
25
28
fi
26
29
27
30
# Promote BUILD_PREFIX on search path to any newly built libs
Original file line number Diff line number Diff line change @@ -281,9 +281,6 @@ function get_macpython_environment {
281
281
local version=$1
282
282
local venv_dir=$2
283
283
284
- # We MUST set this before calling homebrew or it could potentially fail
285
- # See travis-ci issue #8552 for more details
286
- export HOMEBREW_NO_AUTO_UPDATE=1
287
284
288
285
if [ " $USE_CCACHE " == " 1" ]; then
289
286
activate_ccache
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ source $MULTIBUILD_DIR/library_builders.sh
18
18
# config.sh can override any function defined here.
19
19
20
20
function before_install {
21
+ # Uninstall oclint. See Travis-CI gh-8826
22
+ brew cask uninstall oclint || true
21
23
export CC=clang
22
24
export CXX=clang++
23
25
get_macpython_environment $MB_PYTHON_VERSION venv
You can’t perform that action at this time.
0 commit comments