Skip to content

Commit 4352c62

Browse files
authored
Merge pull request #267 from mbdevpl/travis-ci-fix
Fix for #266 - don't use deprecated brew tap-pin, instead refer to the full package name when installing
2 parents 841efa0 + 852f34d commit 4352c62

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: travis_config.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,10 @@ function pre_build {
9898

9999
echo 'Installing QT4'
100100
brew tap | grep -qxF cartr/qt4 || brew tap cartr/qt4
101-
brew tap --list-pinned | grep -qxF cartr/qt4 || brew tap-pin cartr/qt4
102101
if [ -n "$CACHE_STAGE" ]; then
103-
brew_install_and_cache_within_time_limit qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
102+
brew_install_and_cache_within_time_limit cartr/qt4/qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
104103
else
105-
brew install qt@4
104+
brew install cartr/qt4/qt@4
106105
fi
107106

108107
echo 'Installing FFmpeg'

0 commit comments

Comments
 (0)