Skip to content

Commit ae724fe

Browse files
committed
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.
1 parent 42fbd75 commit ae724fe

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,10 @@ script:
9999
- ls -la "/Library/Audio/Plug-Ins/HAL/Background Music Device.driver"
100100
- ls -la "/usr/local/libexec/BGMXPCHelper.xpc" || ls -la "/Library/Application Support/Background Music/BGMXPCHelper.xpc"
101101
- ls -la "/Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist"
102-
# Print the log file from the build package.sh did.
103-
# Do this last because it's a long log file and we might run out of space.
104-
- echo -en 'build_and_install.log for the package\ntravis_fold:start:pkg-build-log\\r'
105-
- cat build_and_install.log
106-
- echo -en 'travis_fold:end:pkg-build-log\\r'
102+
# Also deploy (i.e. attach to the GitHub release) the log file from the build package.sh did. If we
103+
# just printed it, we'd run out of space and the build would be killed. The release is created as a
104+
# draft initially, so we can remove the log file before making the release public.
105+
- cp build_and_install.log Background-Music-*
107106
# Post on IRC when Travis builds finish.
108107
notifications:
109108
irc: "irc.freenode.org#backgroundmusic"

0 commit comments

Comments
 (0)