- if [ "$QT_VERSION" = "qt4" ]; then cmake ..; fi
- if [ "$QT_VERSION" = "qt5" ]; then cmake -DUSE_QT5=ON ..; fi
+ if [ "$QT_VERSION" = "qt4" ]; then cmake -DUSE_QT4=ON ..; fi
+ if [ "$QT_VERSION" = "qt5" ]; then cmake ..; fi
make
elif [ "$TRAVIS_OS_NAME" == "osx" ]
then
if [[ "$TRAVIS_TAG" != "" && "$GH_TOKEN" != "" ]]
then
PATH=$PATH:/usr/local/opt/qt5/bin
make
elif [ "$TRAVIS_OS_NAME" == "osx" ]
then
if [[ "$TRAVIS_TAG" != "" && "$GH_TOKEN" != "" ]]
then
PATH=$PATH:/usr/local/opt/qt5/bin