diff --git a/.travis.yml b/.travis.yml index b66c9726..728a5862 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ cache: env: global: - - ANDROID_API_LEVEL=24 + - ANDROID_EMULATOR_SDK_LEVEL=22 - ANDROID_BUILD_TOOLS_VERSION=23.0.3 - ANDROID_ABI=armeabi-v7a - ANDROID_TAG=google_apis @@ -22,20 +22,20 @@ android: - platform-tools - tools # to install Android SDK tools 25.1.x - build-tools-$ANDROID_BUILD_TOOLS_VERSION - - android-$ANDROID_API_LEVEL + - android-$ANDROID_EMULATOR_SDK_LEVEL # For Google APIs - - addon-google_apis-google-$ANDROID_API_LEVEL + - addon-google_apis-google-$ANDROID_EMULATOR_SDK_LEVEL # Support library - extra-android-support # Latest artifacts in local repository - extra-google-m2repository - extra-android-m2repository # Specify at least one system image - - sys-img-armeabi-v7a-google_apis-$ANDROID_API_LEVEL + - sys-img-armeabi-v7a-google_apis-$ANDROID_EMULATOR_SDK_LEVEL before_script: # Create and start emulator - - echo no | android create avd --force -n test -t "android-"$ANDROID_API_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG + - echo no | android create avd --force -n test -t "android-"$ANDROID_EMULATOR_SDK_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG - emulator -avd test -no-skin -no-window & - chmod +x ./wait_for_emulator.sh - ./wait_for_emulator.sh