Skip to content

Commit f2e6647

Browse files
committed
HOMEBREW_NO_GITHUB_API is more relevant to the lib rather than main logic
1 parent c1edb27 commit f2e6647

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

config.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ function pre_build {
9595
brew_add_local_bottles
9696
fi
9797

98-
# Don't query analytical info online on `brew info`,
99-
# this takes several seconds and we don't need it
100-
# see https://docs.brew.sh/Manpage , "info formula" section
101-
export HOMEBREW_NO_GITHUB_API=1
102-
10398
echo 'Installing QT4'
10499
brew tap | grep -qxF cartr/qt4 || brew tap cartr/qt4
105100
brew tap --list-pinned | grep -qxF cartr/qt4 || brew tap-pin cartr/qt4

travis_osx_brew_cache.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ BREW_TIME_HARD_LIMIT=$((43*60))
2222
# when the caching logic isn't prepared for that
2323
export HOMEBREW_NO_INSTALL_CLEANUP=1
2424

25+
# Don't query analytical info online on `brew info`,
26+
# this takes several seconds and we don't need it
27+
# see https://docs.brew.sh/Manpage , "info formula" section
28+
export HOMEBREW_NO_GITHUB_API=1
29+
30+
2531

2632

2733
#Public functions

0 commit comments

Comments
 (0)