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>
This commit is contained in:
Dirk Hohndel 2018-07-02 14:14:29 -07:00
parent 0661c74880
commit d6b043cd37
2 changed files with 11 additions and 5 deletions

View file

@ -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/ .