From 80d07104c33045ea34a4d5185600495dc7461a12 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 28 Apr 2019 07:36:24 -0400 Subject: [PATCH] uuencode compressed log files for travis --- .travis/build.sh | 11 ++++++++++- .travis/install.sh | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis/build.sh b/.travis/build.sh index 8de2e64..61e69c6 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -10,7 +10,16 @@ function build_linux() make make dist make check RUNTESTFLAGS="-a $RUNTESTFLAGS" - cat */testsuite/libffi.log + + gzip -c -9 */testsuite/libffi.log > libffi.log.gz + echo ================================================================ + echo The logs are too long for travis to handle, so we compress and + echo uuencode them. Download, decode and uncompress if you need to + echo read them. + echo ================================================================ + uuencode libffi.log.gz - + echo ================================================================ + echo ================================================================ } function build_ios() diff --git a/.travis/install.sh b/.travis/install.sh index 56b3f6a..7d9b756 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -8,7 +8,7 @@ if [[ $TRAVIS_OS_NAME != 'linux' ]]; then brew install libtool dejagnu; else sudo apt-get update - sudo apt-get install dejagnu texinfo + sudo apt-get install dejagnu texinfo sharutils case "$HOST" in i386-pc-linux-gnu) sudo apt-get install gcc-multilib g++-multilib