commit 605982a2b73e85d314c2cfb2c1180b3b093aee98
parent 2f7573850ef911333ad1d890558f87c9cb429721
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 6 Dec 2018 16:23:24 +0100
android build: less verbose buildozer logs
Diffstat:
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
@@ -51,7 +51,11 @@ jobs:
- sudo docker build --no-cache -t electrum-android-builder-img electrum/gui/kivy/tools
script:
- sudo chown -R 1000:1000 .
+ # Output something every minute or Travis kills the job
+ - while sleep 60; do echo "=====[ $SECONDS seconds still running ]====="; done &
- sudo docker run -it -u 1000:1000 --rm --name electrum-android-builder-cont -v $PWD:/home/user/wspace/electrum --workdir /home/user/wspace/electrum electrum-android-builder-img ./contrib/make_apk
+ # kill background sleep loop
+ - kill %1
- ls -la bin
- if [ $(ls bin | grep -c Electrum-*) -eq 0 ]; then exit 1; fi
after_success: true
diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md
@@ -70,3 +70,7 @@ $ sudo docker run -it --rm \
--workdir /home/user/wspace/electrum \
electrum-android-builder-img
```
+
+
+### How do I get more verbose logs?
+See `log_level` in `buildozer.spec`
diff --git a/electrum/gui/kivy/tools/buildozer.spec b/electrum/gui/kivy/tools/buildozer.spec
@@ -148,7 +148,7 @@ p4a.source_dir = /opt/python-for-android
[buildozer]
# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
-log_level = 2
+log_level = 1
# -----------------------------------------------------------------------------