summaryrefslogtreecommitdiff
path: root/.travis/build-in-container.sh
blob: 0de1ac96fa06da2e6173a2c4b3ed9f640b945121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# exit this script if any commmand fails
# set -e

cd /opt

apt-get update
apt-get install -y gcc dejagnu make texinfo sharutils gzip git
./configure 
make
make dist
make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
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 ================================================================