Browse Source

android build: less verbose buildozer logs

3.3.3.1
SomberNight 6 years ago
parent
commit
605982a2b7
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      .travis.yml
  2. 4
      electrum/gui/kivy/Readme.md
  3. 2
      electrum/gui/kivy/tools/buildozer.spec

4
.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

4
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`

2
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
# -----------------------------------------------------------------------------

Loading…
Cancel
Save