Skip to content

Commit 110d6bc

Browse files
Fix Travis builds on macOS
Travis and Homebrew have been at odds: the Ruby in PATH is not what Homebrew wants, so it prints: /usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError) Info in the Travis's own GitHub bug report indicates "brew update" fixes this issue, even though it increases the build time. Signed-off-by: Thiago Macieira <[email protected]>
1 parent 5a9dae7 commit 110d6bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ addons:
1212
- qt56base valgrind
1313
install:
1414
- if [ "${TRAVIS_OS_NAME}" != "linux" ]; then
15+
brew update;
1516
brew install qt5;
1617
fi
1718
script:

0 commit comments

Comments
 (0)