From 3bf718005a33a94de6333cf40b5f094c88fc0f42 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Mon, 7 Dec 2015 02:39:54 +0100 Subject: [PATCH] CI: use xcpretty so xcode does not spam the log --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f58a226b456..688e3abb03b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ addons: before_script: # we start compilation afterwards anyway, so no need to sleep - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start ; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install freetype libzzip sdl2 cppunit cmake ; fi + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install freetype libzzip sdl2 cppunit cmake && gem install xcpretty ; fi osx_image: xcode7.1 env: - TEST=TRUE @@ -36,7 +36,7 @@ matrix: env: ANDROID=TRUE script: - cmake -P ci-build.cmake - - cmake --build . + - if [ "$TRAVIS_OS_NAME" != "osx" ]; then cmake --build . ; else set -o pipefail && cmake --build . | xcpretty ; fi - if [ $TEST ]; then bin/Test_Ogre ; fi os: - linux