aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/dist-srpm.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-13 20:22:51 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-13 20:22:51 +0100
commit3fe932d237e90a0beb8b1b5f1008d5cf0b9b4952 (patch)
tree3398a5147c0793054a72dcb81475c0e880708f7c /.travis/targets/dist-srpm.sh
parentbc1c0a563edbaaa639ebd5741d3c0f8144e5bb8f (diff)
downloadblogc-3fe932d237e90a0beb8b1b5f1008d5cf0b9b4952.tar.gz
blogc-3fe932d237e90a0beb8b1b5f1008d5cf0b9b4952.tar.bz2
blogc-3fe932d237e90a0beb8b1b5f1008d5cf0b9b4952.zip
travis: reworked test runner
Diffstat (limited to '.travis/targets/dist-srpm.sh')
-rw-r--r--.travis/targets/dist-srpm.sh22
1 files changed, 4 insertions, 18 deletions
diff --git a/.travis/targets/dist-srpm.sh b/.travis/targets/dist-srpm.sh
index 732b768..aa4e9e8 100644
--- a/.travis/targets/dist-srpm.sh
+++ b/.travis/targets/dist-srpm.sh
@@ -1,23 +1,9 @@
build() {
- pushd build > /dev/null
- ../configure \
- CFLAGS="-Wall -g -O0" \
- --disable-silent-rules \
- --enable-ronn \
- --enable-tests \
- --enable-valgrind \
- --enable-git-receiver \
- --enable-make \
- --enable-runserver
- popd > /dev/null
-
- make -C build dist-srpm
-}
-
-deploy_cond() {
- [[ "x${CC}" = "xgcc" ]]
+ default_configure
+ make dist-srpm
}
deploy() {
- FILES=( build/*.src.rpm )
+ FILES=( *.src.rpm )
+ [[ ${RV} -eq 0 ]] && [[ "x${CC}" = "xgcc" ]]
}