summaryrefslogtreecommitdiffstats
path: root/scripts/android/travisbuild.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-02 14:14:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-03 14:24:18 -0700
commitd6b043cd37b1d99aca0f7c52ca12c3671dddecf4 (patch)
tree8121ba3ff337d2500d20af26ad18b53aa2e7be48 /scripts/android/travisbuild.sh
parent0661c748809e0f87b717ab4b2292ed7ca644d926 (diff)
downloadsubsurface-d6b043cd37b1d99aca0f7c52ca12c3671dddecf4.tar.gz
build-system: tell Travis to wait longer for downloads
But simply ignore when building outside of Travis. Of course since we are building Android in a container, we need to first pass the environment variable to the container... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/android/travisbuild.sh')
-rw-r--r--scripts/android/travisbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/android/travisbuild.sh b/scripts/android/travisbuild.sh
index 8cec02585..84ce42f6d 100644
--- a/scripts/android/travisbuild.sh
+++ b/scripts/android/travisbuild.sh
@@ -3,7 +3,7 @@
set -x
set -e
-docker exec -t builder subsurface/packaging/android/android-build-wrapper.sh
+docker exec -e TRAVIS="$TRAVIS" -t builder subsurface/packaging/android/android-build-wrapper.sh
# Extract the built apk from the builder container
docker cp builder:/workspace/subsurface-mobile-build-arm/build/outputs/apk/ .