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

set -e
set -x

ccache -s

cd `dirname $0`/..
./bootstrap
./configure CC="ccache $CC" CXX="ccache $CXX" "$@"
grep CXX config.status
make V=1
./runtest.pl ALL $TEST_TARGET
# When making a release build, also check that we can build the default
# target and "parcels" (which is the same thing):
if [ "$TEST_TARGET" = "release" ]; then
	make
	make parcels
fi

ccache -s