Skip to content

Commit ef16012

Browse files
authored
Try conditional install again
1 parent 955a531 commit ef16012

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ before_install:
5151

5252
install:
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

6058
script:
6159
- cd bin

0 commit comments

Comments
 (0)