8000 Disable cache stage that was implemented for travis · GabrielAlexMusyoka/opencv-python@a271af1 · GitHub
[go: up one dir, main page]

Skip to content

Commit a271af1

Browse files
committed
Disable cache stage that was implemented for travis
1 parent fbebaa6 commit a271af1

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

travis_config.sh

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,24 +99,26 @@ function pre_build {
9999
export HOMEBREW_NO_AUTO_UPDATE=1
100100

101101
#after the cache stage, all bottles and Homebrew metadata should be already cached locally
102-
if [ -n "$CACHE_STAGE" ]; then
103-
brew update
104-
generate_ffmpeg_formula
105-
brew_add_local_bottles
106-
fi
102+
# if [ -n "$CACHE_STAGE" ]; then
103+
# brew update
104+
# generate_ffmpeg_formula
105+
# brew_add_local_bottles
106+
# fi
107107

108108
echo 'Installing FFmpeg'
109109

110-
if [ -n "$CACHE_STAGE" ]; then
111-
brew_install_and_cache_within_time_limit ffmpeg_opencv || { [ $? -gt 1 ] && return 2 || return 0; }
112-
else
113-
brew unlink python@2
110+
# if [ -n "$CACHE_STAGE" ]; then
111+
# brew_install_and_cache_within_time_limit ffmpeg_opencv || { [ $? -gt 1 ] && return 2 || return 0; }
112+
# else
113+
brew update
114114
generate_ffmpeg_formula
115+
brew_add_local_bottles
116+
brew unlink python@2
115117
brew install ffmpeg_opencv
116-
fi
118+
# fi
117119

118120
# echo 'Installing qt5'
119-
121+
120122
# if [ -n "$CACHE_STAGE" ]; then
121123
# echo "Qt5 has bottle, no caching needed"
122124
# else

0 commit comments

Comments
 (0)
0