Commit 80d07104c33045ea34a4d5185600495dc7461a12

Anthony Green 2019-04-28T07:36:24

uuencode compressed log files for travis

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