File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
- $HOME/local_bottle_metadata
34
34
# `cache: ccache: true` has no effect if `language:` is not `c` or `cpp`
35
35
- $HOME/.ccache
36
-
36
+
37
37
matrix :
38
38
fast_finish : true
39
39
include :
@@ -618,8 +618,9 @@ before_install: |
618
618
source multibuild_customize.sh
619
619
echo $ENABLE_CONTRIB > contrib.enabled
620
620
echo $ENABLE_HEADLESS > headless.enabled
621
-
621
+
622
622
if [ -n "$IS_OSX" ]; then
623
+ brew update --merge
623
624
TAPS="$(brew --repository)/Library/Taps"
624
625
if [ -e "$TAPS/caskroom/homebrew-cask" -a -e "$TAPS/homebrew/homebrew-cask" ]; then
625
626
rm -rf "$TAPS/caskroom/homebrew-cask"
@@ -629,10 +630,10 @@ before_install: |
629
630
cd $(dirname '\''{}'\'')
630
631
git clean -fxd
631
632
git status' \;
632
-
633
+
633
634
brew_cache_cleanup
634
635
fi
635
-
636
+
636
637
before_install
637
638
# Not interested in travis internal scripts' output
638
639
set +x
@@ -653,7 +654,7 @@ script: |
653
654
#otherwise, Travis logic terminates prematurely
654
655
#https://travis-ci.community/t/shell-session-update-command-not-found-in-build-log-causes-build-to-fail-if-trap-err-is-set/817
655
656
trap ERR
656
-
657
+
657
658
test "$rc" -eq 0
658
659
659
660
before_cache : |
@@ -667,10 +668,10 @@ before_cache: |
667
668
fi
668
669
669
670
brew_cache_cleanup
670
-
671
+
671
672
fi
672
673
set +x
673
-
674
+
674
675
after_success : |
675
676
# Upload wheels to pypi if requested
676
677
if [ -n "$TRAVIS_TAG" ]; then
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ function pre_build {
92
92
if [ -n " $IS_OSX " ]; then
93
93
echo " Running for OSX"
94
94
95
- brew update --force
96
95
brew_add_local_bottles
97
96
98
97
# Don't query analytical info online on `brew info`,
You can’t perform that action at this time.
0 commit comments