try to fix travis build

This commit is contained in:
Mohamed Zenadi 2015-03-18 21:13:53 +01:00
parent a75048e201
commit cc33e26359

View file

@ -1,21 +1,17 @@
language: android language: android
android:
android:
components: components:
# The BuildTools version used by your project - android-22
- build-tools-21.1.2 - build-tools-22.0.0
- platform-tools
# The SDK version used to compile your project
- android-21
# Additional components
- extra-google-m2repository - extra-google-m2repository
- extra-android-m2repository - extra-android-m2repository
# Specify at least one system image, # ok no tests for now
# if you need to run emulator(s) during your tests # - sys-img-x86-android-22
- sys-img-x86-android-21
before_script: before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a - GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator script: "./gradlew clean build test -Dpre-dex=false"
- adb shell input keyevent 82 &