File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,9 @@ before_install:
5151
5252install :
5353- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build libqt4-dev qt4-qmake libqt4-opengl-dev; fi
54- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 scripts/getQt4Mac.sh; fi
55- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt || true; fi
56- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade qt || true; fi
57- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then echo $(brew --prefix qt); fi
58- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ls $(brew --prefix qt) || true; fi
54+ - if [[ "$QT5" = "OFF" && "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 scripts/getQt4Mac.sh; fi
55+ - if [[ "$QT5" = "ON" && "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt || true; fi
56+ - if [[ "$QT5" = "ON" && "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade qt || true; fi
5957
6058script :
6159 - cd bin
You can’t perform that action at this time.
0 commit comments