summaryrefslogtreecommitdiffstats
path: root/scripts/android/travisbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/android/travisbuild.sh')
-rw-r--r--scripts/android/travisbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/android/travisbuild.sh b/scripts/android/travisbuild.sh
new file mode 100644
index 000000000..4887ea684
--- /dev/null
+++ b/scripts/android/travisbuild.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+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 .