File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2929if [ -n " $IS_OSX " ]; then
3030
3131 source travis_osx_brew_cache.sh
32-
32+
3333 BREW_SLOW_BUILIDING_PACKAGES=$( printf ' %s\n' \
3434 " x265 20" \
3535 " cmake 15" \
3636 " ffmpeg_opencv 10" \
3737 )
38-
38+
3939 # Contrib adds significantly to project's build time
4040 if [ " $ENABLE_CONTRIB " -eq 1 ]; then
4141 BREW_TIME_LIMIT=$(( BREW_TIME_LIMIT - 10 * 60 ))
4242 fi
43-
43+
4444 function generate_ffmpeg_formula {
4545 local FF=" ffmpeg"
4646 local LFF=" ffmpeg_opencv"
4747 local FF_FORMULA; FF_FORMULA=$( brew formula " $FF " )
4848 local LFF_FORMULA; LFF_FORMULA=" $( dirname " $FF_FORMULA " ) /${LFF} .rb"
49-
49+
5050 local REGENERATE
5151 if [ -f " $LFF_FORMULA " ]; then
5252 local UPSTREAM_VERSION VERSION
@@ -82,7 +82,7 @@ if (/^\s*depends_on "(x264|x265|xvid)"$/) {$_=""; next;}
8282 )
8383 fi
8484 }
85-
85+
8686fi
8787
8888function pre_build {
@@ -91,8 +91,8 @@ function pre_build {
9191
9292 if [ -n " $IS_OSX " ]; then
9393 echo " Running for OSX"
94-
95- brew update --merge
94+
95+ brew update --force
9696 brew_add_local_bottles
9797
9898 # Don't query analytical info online on `brew info`,
You can’t perform that action at this time.
0 commit comments