summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-04-28 07:36:24 -0400
committerAnthony Green <green@moxielogic.com>2019-04-28 07:36:24 -0400
commit80d07104c33045ea34a4d5185600495dc7461a12 (patch)
tree1418b4f4d8ed8b393c37cc0261e5dbf517749181
parentfadf1eb530713fde0be9774d926bc8202c97e379 (diff)
downloadlibffi-80d07104c33045ea34a4d5185600495dc7461a12.tar.gz
uuencode compressed log files for travis
-rwxr-xr-x.travis/build.sh11
-rwxr-xr-x.travis/install.sh2
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