Andre Miras
5f35e8b409
F841: local variable is assigned to but never used
2020-04-13 17:38:32 +02:00
Andre Miras
422f951931
Merge pull request #1063 from AndreMiras/feature/coveralls_from_pull_requests
...
Fixes coveralls.io on pull requests
2020-04-13 17:09:32 +02:00
Andre Miras
58774d8aac
Merge pull request #1065 from AndreMiras/feature/linting_organisation_and_fixes
...
Linting organisation and fixes
2020-04-13 17:03:09 +02:00
Andre Miras
6b03c54832
PEP8 fixes
...
- E129 visually indented line with same indent as next logical line
- E226 missing whitespace around arithmetic operator
- E241 multiple spaces after ','
- E262 inline comment should start with '# '
- E301 expected 1 blank line, found 0
- E303 too many blank lines
- E502 the backslash is redundant between bracket
- E741 ambiguous variable name
- W391 blank line at end of file
2020-04-13 14:26:27 +02:00
Andre Miras
ef63f13111
Organises linter errors and check tests/ directory
2020-04-13 14:20:58 +02:00
Andre Miras
3f1b44de6f
Fixes coveralls.io on pull requests
...
Coveralls.io now runs on pull requests as well.
The report is automatically uploaded on coveralls.io however it needs to
be accessed by copying the report URL to review it.
Next up would be to have it commenting on the pull request to see on
first sight if it increased or decreased.
Also made a couple of adjustment to the workflow file to clarify between
requirements building, Docker build/run and actual testing.
2020-04-11 01:51:04 +02:00
Andre Miras
556724f62d
Merge pull request #1061 from AndreMiras/feature/test_android_module
...
Starts unit testing buildozer/targets/android.py
2020-04-10 22:55:03 +02:00
Andre Miras
0c4116c469
Starts unit testing buildozer/targets/android.py
...
This is a best effort approach trying to increase the coverage of that
module. Therefore some tests are not completely isolating all
dependencies via `mock.patch`-ing.
Subsequent pull request could cover more methods and focus on edge case.
This increases the overall coverage from 20% to 25% and
`buildozer/targets/android.py` coverage from 15% to `24%`.
2020-04-10 21:12:52 +02:00
Andre Miras
7daf3d028c
Merge pull request #1062 from AndreMiras/feature/coveralls_on_push_to_master
...
Coveralls TOKEN is only available on branch master
2020-04-10 21:12:19 +02:00
Andre Miras
090cb5b36e
Coveralls TOKEN is only available on branch master
...
Refs: https://github.com/kivy/buildozer/pull/1060#issuecomment-612168204
2020-04-10 21:00:58 +02:00
Andre Miras
21d4157573
Merge pull request #1060 from kivy/feature/coverage_testing
...
Setup coverage testing, closes #1058
2020-04-10 16:31:18 +02:00
Andre Miras
a155929bdc
Setup coverage testing, closes #1058
...
Also enables report to coveralls.io via GitHub Action.
Note the `COVERALLS_REPO_TOKEN` was setup via:
https://github.com/kivy/buildozer/settings/secrets
And is accessible for repos admin via:
https://coveralls.io/github/kivy/buildozer
2020-04-10 15:10:40 +02:00
Andre Miras
916dc6ba2a
Merge pull request #1053 from Sirfanas/fix-venv-python3
...
[Python3] #1052 ImportError: cannot import name 'main'
2020-04-08 21:15:13 +02:00
Romain Fauquet
05f0024b26
Put change in a single line
...
Co-Authored-By: Andre Miras <AndreMiras@users.noreply.github.com>
2020-04-08 20:58:00 +02:00
Romain Fauquet
c7d0a5a7c3
Change "python3 -m pip" to "pip3"
2020-04-08 20:40:38 +02:00
Sirfanas
c9004f1d77
Fix virtual env for python 3
2020-04-08 17:59:29 +02:00
Andre Miras
cceab3c2ce
Merge pull request #1041 from AndreMiras/feature/default_ndk_to_19b
...
Updates default buildozer.spec NDK from 17c to 19b
2020-03-28 17:26:13 +01:00
Andre Miras
439a3619e4
Updates default buildozer.spec NDK from 17c to 19b
...
Note that this is only the template spec file and
`DEFAULT_ANDROID_NDK_VERSION` fallback is left untouched.
2020-03-28 17:00:50 +01:00
Andre Miras
a294071a60
Merge pull request #1026 from touilleMan/fix-default.spec-typo
...
Fix "android.add_activites" typo in default.spec
2020-02-18 15:54:53 +01:00
Emmanuel Leblond
4165a38897
Fix config typo in default.spec
2020-02-18 15:33:08 +01:00
Andre Miras
d97d60f67c
Merge pull request #1025 from SomberNight/20200213_gradle_fix_apk_name
...
android gradle build: fix apk name
2020-02-13 16:38:16 +01:00
SomberNight
7578fea609
android gradle build: fix apk name
2020-02-13 01:36:04 +01:00
Mathieu Virbel
e5cc1855da
fix syntax error due to the versionning script
2019-12-22 20:12:37 +01:00
Mathieu Virbel
b40bd68d6e
Merge branch 'master' of ssh://github.com/kivy/buildozer
2019-12-22 19:38:38 +01:00
Mathieu Virbel
384cea43a1
bump to better version for dev: 1.0.1-dev0
2019-12-22 19:38:05 +01:00
Mathieu Virbel
1b2e981892
Update README.md
2019-12-22 19:36:00 +01:00
Mathieu Virbel
664faa7583
remove README.rst
2019-12-22 19:33:01 +01:00
Mathieu Virbel
636bc2fe15
Merge branch 'master' of ssh://github.com/kivy/buildozer
2019-12-22 19:29:20 +01:00
Mathieu Virbel
8c88e3cc7d
remove crystax from documentation
2019-12-22 19:29:12 +01:00
Mathieu Virbel
5351e7d041
update CHANGELOG
2019-12-22 19:28:27 +01:00
Mathieu Virbel
8fa06fe3d9
Bump to 1.1.dev0
2019-12-22 19:25:24 +01:00
Mathieu Virbel
5f67c04b69
Bump to 1.0
2019-12-22 19:25:16 +01:00
Mathieu Virbel
69d418491f
remove 2.7 support
2019-12-22 19:21:28 +01:00
Mathieu Virbel
526607e17d
fix docker build
2019-12-22 19:21:28 +01:00
Mathieu Virbel
b4fd5d933b
Remove travis.yml
2019-12-22 19:21:28 +01:00
Mathieu Virbel
a3ae25fa00
Introduce github actions
2019-12-22 19:21:28 +01:00
Mathieu Virbel
4799f7d931
Merge branch 'master' of ssh://github.com/kivy/buildozer
2019-12-22 19:01:51 +01:00
Mathieu Virbel
c70fb74366
Merge branch 'autosportlabs-master'
2019-12-22 19:01:38 +01:00
Mathieu Virbel
345168cbb7
Merge branch 'master' of https://github.com/autosportlabs/buildozer into autosportlabs-master
2019-12-22 19:01:29 +01:00
Philipp Auersperg-Castell
c3617ff0ab
customizability options
2019-12-22 18:59:07 +01:00
Gabriel Pettier
2fb4399767
add libffi-dev to android requirements
2019-12-10 17:03:34 +01:00
SomberNight
b6981f8c57
spec file: cast paths in source.exclude_dirs to lowercase
...
The paths tested against source.exclude_dirs are already cast to
lowercase but previously the paths in source.exclude_dirs were left
as-is.
This could result in confusion if the user lists non-lowercase paths
in source.exclude_dirs as they would never match anything.
2019-10-27 15:39:44 +01:00
Alexander Taylor
bc11bd6066
Merge pull request #969 from misl6/fix-add-libs-only-current-arch
...
Add libs only for current arch
2019-10-23 18:50:01 +01:00
Alexander Taylor
81c31c4d1e
Merge pull request #983 from AndreMiras/feature/minor_tests_improvements
...
Fixes test_p4a_recommended_android_ndk_found() mocking
2019-10-05 17:40:29 +01:00
Andre Miras
8e56f880ce
Fixes test_p4a_recommended_android_ndk_found() mocking
...
Mocking `for line in open()` should be done via `StringIO`.
Also uses `pytest` in `tox.ini` so assert errors are more verbose.
2019-10-05 15:01:18 +02:00
Alexander Taylor
9fcf28ba44
Code improvements around NDK download ( #961 )
...
* Cleaned up some variable references
* Improved how user build dir is accessed
* Minor code style improvements
* Fixed dist_dir calculation following p4a changes
2019-10-05 13:34:49 +02:00
Andre Miras
d483847bb5
Merge pull request #978 from misl6/fix-dist-dir
...
Fixes packaging for current p4a develop branch
2019-10-01 10:44:11 +02:00
Mirko Galimberti
99ad83a2b9
Fixes packaging for current p4a develop branch
2019-09-30 17:26:37 +02:00
Andre Miras
f01d09cdaf
Merge pull request #976 from AndreMiras/feature/update_installation_documentation
...
Updates install instructions and troubleshooting
2019-09-27 19:02:49 +02:00
Andre Miras
569c012676
Updates install instructions and troubleshooting
...
- Python3 only, since this is now a p4a requirement
- links to p4a troubleshooting documentation
- fixes code block formatting on `Aidl` section
2019-09-27 11:16:06 +02:00