diff --git a/.travis.yml b/.travis.yml index 69964f39b3..910dc8e95d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: android -sudo: required +#sudo: required env: global: - EMULATOR_API_LEVEL=21 - - ANDROID_ABI=x86 + - ANDROID_ABI=armeabi-v7a - ADB_INSTALL_TIMEOUT=8 - AVD_DEBUG='init,avd_config,nand_limits,keys,adb,adbserver,adbclient' @@ -36,12 +36,14 @@ before_install: before_script: - android list targets - echo no | android create avd --force -n test -t android-$EMULATOR_API_LEVEL --abi $ANDROID_ABI --tag google_apis - - export QEMU_AUDIO_DRV=none && emulator -engine classic -avd test -no-window & - - android-wait-for-emulator - - adb shell settings put global window_animation_scale 0 & - - adb shell settings put global transition_animation_scale 0 & - - adb shell settings put global animator_duration_scale 0 & - - adb shell input keyevent 82 & + script: - - ./gradlew connectedAndroidTest && ./gradlew assembleRelease && ./gradlew test \ No newline at end of file + - export QEMU_AUDIO_DRV=none && emulator -engine classic -avd test -no-window & + - android-wait-for-emulator + - adb shell settings put global window_animation_scale 0 + - adb shell settings put global transition_animation_scale 0 + - adb shell settings put global animator_duration_scale 0 + - adb shell input keyevent 82 + - ./gradlew connectedAndroidTest + - ./gradlew assembleRelease && ./gradlew test \ No newline at end of file