try to fix travis build
This commit is contained in:
parent
a75048e201
commit
cc33e26359
1 changed files with 13 additions and 17 deletions
30
.travis.yml
30
.travis.yml
|
@ -1,21 +1,17 @@
|
||||||
language: android
|
language: android
|
||||||
android:
|
|
||||||
components:
|
|
||||||
# The BuildTools version used by your project
|
|
||||||
- build-tools-21.1.2
|
|
||||||
|
|
||||||
# The SDK version used to compile your project
|
android:
|
||||||
- android-21
|
components:
|
||||||
|
- android-22
|
||||||
|
- build-tools-22.0.0
|
||||||
|
- platform-tools
|
||||||
|
- extra-google-m2repository
|
||||||
|
- extra-android-m2repository
|
||||||
|
|
||||||
# Additional components
|
# ok no tests for now
|
||||||
- extra-google-m2repository
|
# - sys-img-x86-android-22
|
||||||
- extra-android-m2repository
|
|
||||||
|
|
||||||
# Specify at least one system image,
|
before_script:
|
||||||
# if you need to run emulator(s) during your tests
|
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
|
||||||
- sys-img-x86-android-21
|
|
||||||
before_script:
|
script: "./gradlew clean build test -Dpre-dex=false"
|
||||||
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
|
|
||||||
- emulator -avd test -no-skin -no-audio -no-window &
|
|
||||||
- android-wait-for-emulator
|
|
||||||
- adb shell input keyevent 82 &
|
|
||||||
|
|
Loading…
Reference in a new issue