mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
ad4ea65493
In some situations Travis CI doesn't seem to notice that a build failed and give us a green check mark even though the build didn't succeed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
15 lines
519 B
Bash
15 lines
519 B
Bash
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
docker exec -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/ .
|
|
|
|
# TODO: Caching
|
|
# Yank Qt, android-sdk, android-ndk and other 3pp source tar balls out from the container and cache them.
|
|
#docker exec builder mkdir -p 3pp
|
|
#docker exec builder sh -c 'mv Qt android-sdk-linux android-ndk-* *.tar.gz *.tar.bz2 3pp/'
|
|
#docker cp builder:/workspace/3pp .
|