aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/travis-build.sh
blob: 70b24753a14054ecd1e57af36c01f417898051dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

set -ex

if [[ "x${TARGET}" = "xblogc-github-lambda" ]]; then
    build-aux/travis-build-github-lambda.sh
    exit $?
fi

rm -rf build
mkdir -p build

pushd build > /dev/null
../configure \
    CFLAGS="-Wall -g -O0" \
    --enable-ronn \
    --disable-silent-rules \
    --enable-tests \
    --enable-valgrind \
    --enable-git-receiver \
    --enable-runserver
popd > /dev/null

make -C build "${TARGET}"