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/github-lambda.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/github-lambda.sh')
-rw-r--r-- | .travis/targets/github-lambda.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis/targets/github-lambda.sh b/.travis/targets/github-lambda.sh index 5eb3422..2a95ca5 100644 --- a/.travis/targets/github-lambda.sh +++ b/.travis/targets/github-lambda.sh @@ -31,6 +31,10 @@ build() { xz -z "build/blogc-static-amd64-${PV}" } +deploy_cond() { + [[ "x${CC}" = "xgcc" ]] +} + deploy() { FILES=( build/*.zip build/blogc-static-*.xz ) } |