aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/dist-srpm.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 18:50:12 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 22:08:49 +0100
commit1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc (patch)
tree6f3cbaaa5c8450164286f19486f6e8256d3b480a /.travis/targets/dist-srpm.sh
parente3aa97f1059bce6e92572945661e6f6a5ed3cc97 (diff)
downloadblogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.tar.gz
blogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.tar.bz2
blogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.zip
travis: allow targets to disable deploy
Diffstat (limited to '.travis/targets/dist-srpm.sh')
-rw-r--r--.travis/targets/dist-srpm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis/targets/dist-srpm.sh b/.travis/targets/dist-srpm.sh
index 87858c6..732b768 100644
--- a/.travis/targets/dist-srpm.sh
+++ b/.travis/targets/dist-srpm.sh
@@ -14,6 +14,10 @@ build() {
make -C build dist-srpm
}
+deploy_cond() {
+ [[ "x${CC}" = "xgcc" ]]
+}
+
deploy() {
FILES=( build/*.src.rpm )
}