mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-09 00:46:15 +00:00
pdate Android SDK Tools to the really last version
This commit is contained in:
parent
2109ab98a1
commit
e0a6926608
10
.travis.yml
10
.travis.yml
@ -6,7 +6,7 @@ android:
|
|||||||
components:
|
components:
|
||||||
- tools
|
- tools
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-26.0.0
|
- build-tools-26.0.2
|
||||||
- android-24
|
- android-24
|
||||||
- sys-img-armeabi-v7a-android-24
|
- sys-img-armeabi-v7a-android-24
|
||||||
branches:
|
branches:
|
||||||
@ -16,13 +16,17 @@ before_install:
|
|||||||
# After Travis updated image with Android base environment, building via ant is not possible anymore.
|
# After Travis updated image with Android base environment, building via ant is not possible anymore.
|
||||||
# Library tests are old-style tests, and trust on legacy Android ant environment.
|
# Library tests are old-style tests, and trust on legacy Android ant environment.
|
||||||
# Need to disable tests until they are ported to JUnit 4 and gradle build.
|
# Need to disable tests until they are ported to JUnit 4 and gradle build.
|
||||||
#- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
|
#- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
|
||||||
-c 20M
|
|
||||||
#- emulator -avd test -no-window &
|
#- emulator -avd test -no-window &
|
||||||
- rm pom.xml
|
- rm pom.xml
|
||||||
#- android update project -p .
|
#- android update project -p .
|
||||||
#- chmod +x ./wait_for_emulator.sh
|
#- chmod +x ./wait_for_emulator.sh
|
||||||
#- ./wait_for_emulator.sh
|
#- ./wait_for_emulator.sh
|
||||||
|
#
|
||||||
|
# On the other hand, Travis still uses 'android' command behind the 'components' section update.
|
||||||
|
# That command is obsolete and cannot update Android SDK Tools after 25.2.5.
|
||||||
|
# Let's solve it here with the new command 'sdkmanager'
|
||||||
|
- yes | sdkmanager --verbose tools
|
||||||
script:
|
script:
|
||||||
#- ant clean
|
#- ant clean
|
||||||
#- ant debug
|
#- ant debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user