aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/distcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/targets/distcheck.sh')
-rw-r--r--.travis/targets/distcheck.sh21
1 files changed, 4 insertions, 17 deletions
diff --git a/.travis/targets/distcheck.sh b/.travis/targets/distcheck.sh
index 3bf352d..e1cd9c5 100644
--- a/.travis/targets/distcheck.sh
+++ b/.travis/targets/distcheck.sh
@@ -1,22 +1,9 @@
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" ]]
+ default_configure
+ make distcheck
}
deploy() {
- FILES=( build/*.{*.tar.{gz,bz2,xz},zip} )
+ FILES=( *.{*.tar.{gz,bz2,xz},zip} )
+ [[ ${RV} -eq 0 ]] && [[ "x${CC}" = "xgcc" ]]
}