language: android
jdk: oraclejdk8
Use JDK8 for Android builds on TravisUse JDK8 for Android builds on TraviUse JDK8 for Android builds on Travis
env:
  global:
    - ADB_INSTALL_TIMEOUT=30
# Using the new Container-Based Infrastructure
    - sudo: false
# Turning off caching to avoid caching Issues
    - cache: false
# Initiating clean Gradle output
    - TERM=dumb
# Giving even more memory to Gradle JVM
    - GRADLE_OPTS="-Xmx2048m -XX:MaxPermSize=1024m"

android:
  components:
    - tools
    - build-tools-23.0.3
    - extra-android-m2repository
    - android-23

# Emulator Management: Create, Start and Wait
before_script:
  - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script: ./gradlew connectedAndroidTest
language: android
jdk: oraclejdk8

env:
  global:
    - ADB_INSTALL_TIMEOUT=30
# Using the new Container-Based Infrastructure
    - sudo: false
# Turning off caching to avoid caching Issues
    - cache: false
# Initiating clean Gradle output
    - TERM=dumb
# Giving even more memory to Gradle JVM
    - GRADLE_OPTS="-Xmx2048m -XX:MaxPermSize=1024m"

android:
  components:
    - tools
    - build-tools-23.0.3
    - extra-android-m2repository
    - android-23

# Emulator Management: Create, Start and Wait
before_script:
  - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

script: ./gradlew connectedAndroidTest
Use JDK8 for Android builds on Travis
Use JDK8 for Android builds on Travis
