From ae724fe7afe9cc5e7f8d78ec083e6dd14cb78bbb Mon Sep 17 00:00:00 2001 From: Kyle Neideck Date: Sun, 21 Jun 2020 00:12:16 +1000 Subject: [PATCH] Reduce logging in CI builds so Travis doesn't kill them. Upload the build_and_install.log from the packaging step instead of printing it. --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b646d0..5cb533c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,11 +99,10 @@ script: - ls -la "/Library/Audio/Plug-Ins/HAL/Background Music Device.driver" - ls -la "/usr/local/libexec/BGMXPCHelper.xpc" || ls -la "/Library/Application Support/Background Music/BGMXPCHelper.xpc" - ls -la "/Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist" -# Print the log file from the build package.sh did. -# Do this last because it's a long log file and we might run out of space. - - echo -en 'build_and_install.log for the package\ntravis_fold:start:pkg-build-log\\r' - - cat build_and_install.log - - echo -en 'travis_fold:end:pkg-build-log\\r' +# Also deploy (i.e. attach to the GitHub release) the log file from the build package.sh did. If we +# just printed it, we'd run out of space and the build would be killed. The release is created as a +# draft initially, so we can remove the log file before making the release public. + - cp build_and_install.log Background-Music-* # Post on IRC when Travis builds finish. notifications: irc: "irc.freenode.org#backgroundmusic"