aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/distcheck.sh
blob: 3bf352d44ad7e9abbdbddad2ef16eb2aa3666217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
build() {
    pushd build > /dev/null
    ../configure \
        CFLAGS="-Wall -g -O0" \
        --disable-silent-rules \
        --enable-ronn \
        --enable-tests \
        --enable-git-receiver \
        --enable-make \
        --enable-runserver
    popd > /dev/null

    make -C build distcheck
}

deploy_cond() {
    [[ "x${CC}" = "xgcc" ]]
}

deploy() {
    FILES=( build/*.{*.tar.{gz,bz2,xz},zip} )
}