Skip to content

Commit

Permalink
Another travis adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 23, 2017
1 parent c268d5b commit 7f58e07
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ cache:

env:
global:
- ANDROID_API_LEVEL=26
# - ANDROID_MIN_API_LEVEL=16
# - ANDROID_MAX_API_LEVEL=26
- ANDROID_BUILD_TOOLS_VERSION=26.0.0
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)
env:
matrix:
- EMULATOR_API_LEVEL=android-16 ANDROID_ABI=armeabi-v7a
- EMULATOR_API_LEVEL=android-25 ANDROID_ABI=armeabi-v7a
matrix:
- API=android-16 ABI=armeabi-v7a
- API=android-26 ABI=armeabi-v7a

android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
- android-$EMULATOR_API_LEVEL
- sys-img-armeabi-v7a-android-$ANDROID_API_LEVEL
- sys-img-armeabi-v7a-android-$EMULATOR_API_LEVEL
- android-16
- android-26
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository

before_script:
- echo no | android create avd --force -n test -t "android-"$EMULATOR_API_LEVEL --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-update-sdk --components=sys-img-$ABI-$API --accept-licenses='android-sdk-license-[0-9a-f]{8}'
- echo no | android create avd --force -n test -t $API --abi $ABI
- emulator -avd test -no-audio -no-window
- android-wait-for-emulator
- adb shell input keyevent 82 &

script: travis_wait 60 ./gradlew clean connectedAndroidTest -PdisablePreDex --stacktrace
script:
- travis_wait 60 ./gradlew clean connectedAndroidTest -PdisablePreDex --stacktrace

0 comments on commit 7f58e07

Please sign in to comment.