Skip to content

Commit 72f10b4

Browse files
committed
no auto update, use extract
1 parent 67699a2 commit 72f10b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

travis_config.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ function pre_build {
9292
echo "Running for OSX"
9393

9494
local CACHE_STAGE; (echo "$TRAVIS_BUILD_STAGE_NAME" | grep -qiF "final") || CACHE_STAGE=1
95+
export HOMEBREW_NO_AUTO_UPDATE=1
9596

9697
#after the cache stage, all bottles and Homebrew metadata should be already cached locally
9798
if [ -n "$CACHE_STAGE" ]; then
@@ -104,7 +105,8 @@ function pre_build {
104105
if [ -n "$CACHE_STAGE" ]; then
105106
echo "Qt5 has bottle, no caching needed"
106107
else
107-
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/079ce55db79acc87b91bec950249595b1584e119/Formula/qt.rb
108+
brew extract qt --version=5.13.2
109+
brew install qt@5.13.2
108110
export PATH="/usr/local/opt/qt/bin:$PATH"
109111
fi
110112

0 commit comments

Comments
 (0)