Use xcpretty for xcodebuild on Travis

master
chinhodado 2015-06-01 21:27:22 +07:00 committed by Chin
parent 8a04c65e20
commit c2046a109a
2 changed files with 2 additions and 1 deletions

@ -18,5 +18,5 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export Qt5_DIR=$(brew --prefix)/opt/qt5 export Qt5_DIR=$(brew --prefix)/opt/qt5
mkdir build && cd build mkdir build && cd build
cmake .. -GXcode cmake .. -GXcode
xcodebuild -configuration Release xcodebuild -configuration Release | xcpretty -c && exit ${PIPESTATUS[0]}
fi fi

@ -26,4 +26,5 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew tap homebrew/versions brew tap homebrew/versions
brew install qt5 glfw3 pkgconfig brew install qt5 glfw3 pkgconfig
gem install xcpretty
fi fi