diff options
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--] | .travis-build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis-build.sh b/.travis-build.sh index b869b8b8f..21582c689 100644..100755 --- a/.travis-build.sh +++ b/.travis-build.sh @@ -4,13 +4,13 @@ set -e set -x #if OS is linux or is not set -if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then +if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then mkdir build && cd build cmake -DUSE_QT5=OFF .. make -j4 -elif [ "$TRAVIS_OS_NAME" = osx ]; then +elif [ "$TRAVIS_OS_NAME" = "osx" ]; then export Qt5_DIR=$(brew --prefix)/opt/qt5 mkdir build && cd build cmake .. -GXcode - xcodebuild + xcodebuild -configuration Release fi |