Use xcpretty for xcodebuild on Travis

This commit is contained in:
chinhodado 2015-06-01 21:27:22 -04:00 committed by Chin
parent 8a04c65e20
commit c2046a109a
2 changed files with 2 additions and 1 deletions

View File

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

View File

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