aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/travis-build.sh
blob: 8d63c79f459cf3b543d67aeab234a0eada66e3d9 (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
25
26
27
28
#!/bin/bash

set -x

rm -rf build
mkdir -p build

git --no-pager log -1 --pretty=format:x . 2>&1
git describe --abbrev=4 --match="$prefix*" HEAD
git describe --abbrev=4 HEAD 2>/dev/null
git rev-list "$vtag"..HEAD 2>/dev/null
git --version >/dev/null 2>&1
build-aux/git-version-gen .tarball-version

pushd build > /dev/null

../configure \
    CFLAGS="-Wall -g" \
    --enable-ronn \
    --disable-silent-rules \
    --enable-tests \
    --enable-valgrind \
    --enable-git-receiver \
    --enable-runserver

popd > /dev/null

make -C build "${TARGET}"