From c2046a109a552d24b3bbdbc6711818267d1facb4 Mon Sep 17 00:00:00 2001
From: chinhodado <chin.bimbo@gmail.com>
Date: Mon, 1 Jun 2015 21:27:22 -0400
Subject: [PATCH] Use xcpretty for xcodebuild on Travis

---
 .travis-build.sh | 2 +-
 .travis-deps.sh  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis-build.sh b/.travis-build.sh
index 14dfd64d8..422e13220 100755
--- a/.travis-build.sh
+++ b/.travis-build.sh
@@ -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
diff --git a/.travis-deps.sh b/.travis-deps.sh
index f8074fb91..b9561bb66 100755
--- a/.travis-deps.sh
+++ b/.travis-deps.sh
@@ -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