aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets
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
parente3aa97f1059bce6e92572945661e6f6a5ed3cc97 (diff)
downloadblogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.tar.gz
blogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.tar.bz2
blogc-1b58092a09a99fcb4bcc715b2ca1b0b28f9868dc.zip
travis: allow targets to disable deploy
Diffstat (limited to '.travis/targets')
-rw-r--r--.travis/targets/dist-srpm.sh4
-rw-r--r--.travis/targets/distcheck.sh4
-rw-r--r--.travis/targets/github-lambda.sh4
-rw-r--r--.travis/targets/win32.sh4
-rw-r--r--.travis/targets/win64.sh4
5 files changed, 20 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 )
}
diff --git a/.travis/targets/distcheck.sh b/.travis/targets/distcheck.sh
index 104893b..3bf352d 100644
--- a/.travis/targets/distcheck.sh
+++ b/.travis/targets/distcheck.sh
@@ -13,6 +13,10 @@ build() {
make -C build distcheck
}
+deploy_cond() {
+ [[ "x${CC}" = "xgcc" ]]
+}
+
deploy() {
FILES=( build/*.{*.tar.{gz,bz2,xz},zip} )
}
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 )
}
diff --git a/.travis/targets/win32.sh b/.travis/targets/win32.sh
index 85a781f..1c64856 100644
--- a/.travis/targets/win32.sh
+++ b/.travis/targets/win32.sh
@@ -30,6 +30,10 @@ build() {
zip "build/${DEST_DIR}.zip" "${DEST_DIR}"/*
}
+deploy_cond() {
+ [[ "x${CC}" = "xgcc" ]]
+}
+
deploy() {
FILES=( build/*.zip )
}
diff --git a/.travis/targets/win64.sh b/.travis/targets/win64.sh
index 88fd83c..47d82ee 100644
--- a/.travis/targets/win64.sh
+++ b/.travis/targets/win64.sh
@@ -30,6 +30,10 @@ build() {
zip "build/${DEST_DIR}.zip" "${DEST_DIR}"/*
}
+deploy_cond() {
+ [[ "x${CC}" = "xgcc" ]]
+}
+
deploy() {
FILES=( build/*.zip )
}