Android travis ci [skip appveyor] (#228)

Set python to 2.7.12
This commit is contained in:
halx99 2020-10-07 12:35:08 +08:00 committed by GitHub
parent d535b47145
commit c3822d169b
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,11 @@
language: cpp
python:
- "2.7.12"
android:
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
jobs:
include:
# osx

View File

@ -87,8 +87,8 @@ def install_android_sdk():
switches = " --verbose --sdk_root=" + ANDROID_SDK + " "
cmd1 = SDK_MANAGER + switches
packages = [
"platforms;android-27",
"build-tools;28.0.3",
"platforms;android-28",
"build-tools;29.0.2",
"platform-tools",
"tools"
]