diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-03-12 18:50:12 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-03-12 22:08:49 +0100 |
commit | 1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc (patch) | |
tree | 6f3cbaaa5c8450164286f19486f6e8256d3b480a /.travis/targets/dist-srpm.sh | |
parent | e3aa97f1059bce6e92572945661e6f6a5ed3cc97 (diff) | |
download | blogc-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.sh | 4 |
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 ) } |