Skip to content

Commit

Permalink
Update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Oct 20, 2017
1 parent acdd8e4 commit fb815d2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -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
- 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

0 comments on commit fb815d2

Please sign in to comment.