diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-12-22 18:55:43 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-12-30 11:20:34 -0800 |
commit | f11f4dc139044c1717f05899c89d2f2436a0f910 (patch) | |
tree | 45a2bff27b50c5a2008a3038094ee808521df36a /scripts/android/travisbuild.sh | |
parent | f39b07dec3bfef91a80b753bc1cf5d989ec2e669 (diff) | |
download | subsurface-f11f4dc139044c1717f05899c89d2f2436a0f910.tar.gz |
Travis: use Android docker image for build
This should make it easier to make changes to our build environment.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/android/travisbuild.sh')
-rw-r--r-- | scripts/android/travisbuild.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/android/travisbuild.sh b/scripts/android/travisbuild.sh index 84ce42f6d..6d8397e40 100644 --- a/scripts/android/travisbuild.sh +++ b/scripts/android/travisbuild.sh @@ -3,13 +3,9 @@ set -x set -e +# by running the build wrapper again we should be able to test newer +# versions of the dependencies even without updating the docker image +# (but of course having the right things in place will save a ton of time) 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/ . - -# 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 . +ls -l ../subsurface-mobile-build-arm/build/outputs/apk/ |