diff --git a/.travis.yml b/.travis.yml index 41bd1bdf..040b59d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,31 +7,23 @@ jdk: env: global: - - TARGET_SDK_VERSION=26 + - TARGET_SDK=26 - BUILD_TOOLS_VERSION=26.0.0 matrix: -# - API=android-15 ABI=armeabi-v7a - - API=android-16 ABI=armeabi-v7a -# - API=android-17 ABI=armeabi-v7a -# - API=android-18 ABI=armeabi-v7a -# - API=android-19 ABI=armeabi-v7a -# - API=android-21 ABI=armeabi-v7a -# - API=android-22 ABI=armeabi-v7a -# - API=android-24 ABI=armeabi-v7a -# - API=android-24 ABI=arm64-v8a + - EMULATOR_SDK=android-19 ABI=armeabi-v7a android: components: - tools - platform-tools - tools - - android-${TARGET_SDK_VERSION} + - android-${TARGET_SDK} - build-tools-${BUILD_TOOLS_VERSION} - extra-android-m2repository before_script: - - 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 + - android-update-sdk --components=sys-img-$ABI-$EMULATOR_SDK --accept-licenses='android-sdk-license-[0-9a-f]{8}' + - echo no | android create avd --force -n test -t $EMULATOR_SDK --abi $ABI - emulator -avd test -no-audio -no-window & - ./gradlew clean assembleDebug assembleDebugAndroidTest - android-wait-for-emulator