From 07ce1c6e973da38940156980061ad24cd007c082 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 2 Jul 2017 19:47:48 +0300 Subject: [PATCH] Cache .buildozer. Also allow SDK updates --- .travis.yml | 3 ++- client/android_sources/buildozer.spec.example | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06ea113f..22ff4d74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,10 @@ dist: trusty cache: - apt: true script: +- cd $TRAVIS_BUILD_DIR/client/android_sources && ./build.sh - cd $TRAVIS_BUILD_DIR/pupy && rm -f payload_templates/* - cd $TRAVIS_BUILD_DIR/client/sources && ./buildenv.sh && ./build.sh - cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./buildenv.sh && sudo -E ./build.sh -- cd $TRAVIS_BUILD_DIR/client/android_sources && ./build.sh - rm -rf $TRAVIS_BUILD_DIR/client/sources/buildenv/win32/drive_c/users - rm -rf $TRAVIS_BUILD_DIR/client/sources/buildenv/win64/drive_c/users - rm -rf $TRAVIS_BUILD_DIR/client/sources/buildenv/win32/dosdevices @@ -28,6 +28,7 @@ cache: directories: - $TRAVIS_BUILD_DIR/client/sources/buildenv - $TRAVIS_BUILD_DIR/client/sources-linux/buildenv + - $HOME/.buildozer after_success: - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - export REPO=alxchk/pupy diff --git a/client/android_sources/buildozer.spec.example b/client/android_sources/buildozer.spec.example index d7569cb9..43a6a7be 100644 --- a/client/android_sources/buildozer.spec.example +++ b/client/android_sources/buildozer.spec.example @@ -127,7 +127,7 @@ android.whitelist = lib-dynload/termios.so,lib-dynload/mmap.so,lib-dynload/_json # (bool) If True, then skip trying to update the Android sdk # This can be useful to avoid excess Internet downloads or save time # when an update is due and you just want to test/build your package -android.skip_update = True +# android.skip_update = False # (str) Bootstrap to use for android builds (android_new only) p4a.bootstrap = badservice