Skip to content

Commit 9bda7a8

Browse files
committed
Add travis test for bootstraps webview and service_only
In order to avoid errors while running too many parallel tests we remove the basic python2 and python3 tests (because we already test them in his equivalent with the libraries) and the new added tests will only be performed for one python version:   - webview: python3   - service_only: python2 Also, to not loose the numpy tests, we enforce to build the numpy recipe in the tests for webview and service_only bootstraps, so we will test it for both python versions.
1 parent cb929a5 commit 9bda7a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ env:
1818
- ANDROID_SDK_HOME=/opt/android/android-sdk
1919
- ANDROID_NDK_HOME=/opt/android/android-ndk
2020
matrix:
21-
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python3.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements sdl2,pyjnius,kivy,python3,numpy'
2221
# overrides requirements to skip `peewee` pure python module, see:
2322
# https://github.com/kivy/python-for-android/issues/1263#issuecomment-390421054
2423
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python3_sqlite_openssl.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements libffi,sdl2,pyjnius,kivy,python3,openssl,requests,sqlite3,setuptools'
2524
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python2_sqlite_openssl.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements sdl2,pyjnius,kivy,python2,openssl,requests,sqlite3,setuptools'
26-
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python2.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --bootstrap sdl2 --requirements python2,numpy'
25+
# test webview and service_only bootstraps (plus numpy)
26+
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_flask.py apk --dist-name bdisttest_python3_flask_webview --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements python3,flask,pyjnius,numpy'
27+
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_service.py apk --dist-name bdisttest_python2_service --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements python2,genericndkbuild,numpy'
2728
# builds only the recipes that moved
2829
- COMMAND='. venv/bin/activate && ./ci/rebuild_updated_recipes.py'
2930

0 commit comments

Comments
 (0)