Cache .buildozer. Also allow SDK updates

This commit is contained in:
Oleksii Shevchuk 2017-07-02 19:47:48 +03:00
parent 8ee9d9e319
commit 07ce1c6e97
2 changed files with 3 additions and 2 deletions

View File

@ -16,10 +16,10 @@ dist: trusty
cache: cache:
- apt: true - apt: true
script: script:
- cd $TRAVIS_BUILD_DIR/client/android_sources && ./build.sh
- cd $TRAVIS_BUILD_DIR/pupy && rm -f payload_templates/* - 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 && ./buildenv.sh && ./build.sh
- cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./buildenv.sh && sudo -E ./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/win32/drive_c/users
- rm -rf $TRAVIS_BUILD_DIR/client/sources/buildenv/win64/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 - rm -rf $TRAVIS_BUILD_DIR/client/sources/buildenv/win32/dosdevices
@ -28,6 +28,7 @@ cache:
directories: directories:
- $TRAVIS_BUILD_DIR/client/sources/buildenv - $TRAVIS_BUILD_DIR/client/sources/buildenv
- $TRAVIS_BUILD_DIR/client/sources-linux/buildenv - $TRAVIS_BUILD_DIR/client/sources-linux/buildenv
- $HOME/.buildozer
after_success: after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=alxchk/pupy - export REPO=alxchk/pupy

View File

@ -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 # (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time # 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 # 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) # (str) Bootstrap to use for android builds (android_new only)
p4a.bootstrap = badservice p4a.bootstrap = badservice