From 811f916dae13c208d58a7647d817dc91df38f82b Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sat, 29 Feb 2020 01:29:39 +0100 Subject: [PATCH] Reduce Xcode output in Travis CI CMake build This should fix builds that terminate due to: job exceeded the maximum log length and generally make Xcode build logs more readable and useful. Closes https://github.com/wxWidgets/wxWidgets/pull/1747 --- build/tools/travis-ci.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index b42553eda2..85d7d6c2dc 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -26,7 +26,10 @@ case $wxTOOLSET in echo 'travis_fold:start:building' echo 'Building...' - cmake --build . -- $wxJOBS + if [ "$wxCMAKE_GENERATOR" == "Xcode" ]; then + wxTOOL_ARG="-quiet" + fi + cmake --build . -- $wxJOBS $wxTOOL_ARG echo 'travis_fold:end:building' if [ "$wxCMAKE_TESTS" != "OFF" ]; then