language: android
jdk: oraclejdk8
dist: trusty
sudo: required
group: edge

android:
  components:
    - tools
    - build-tools-26.0.1
    - android-26

install:
  - sudo apt-get install build-essential
  - echo y | sdkmanager 'ndk-bundle'
  - echo y | sdkmanager 'cmake'
  - export ANDROID_HOME=$HOME/android/sdk
  - export ANDROID_NDK_HOME=$HOME/android/sdk/ndk-bundle

env:
  global:
   # install timeout in minutes (2 minutes by default)
    - ADB_INSTALL_TIMEOUT=8

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

script:
  - android list target
  - ./gradlew build -x bintray connectedCheck --stacktrace --info
language: android
jdk: oraclejdk8
dist: trusty
sudo: required
group: edge

android:
  components:
    - tools
    - build-tools-26.0.1
    - android-26

install:
  - sudo apt-get install build-essential
  - yes | sdkmanager 'ndk-bundle'
  - yes | sdkmanager 'cmake'

env:
  global:
   # install timeout in minutes (2 minutes by default)
    - ADB_INSTALL_TIMEOUT=8

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

script:
  - android list target
  - ./gradlew build -x bintray connectedCheck --stacktrace --info
Use yes to accept license
Use yes to accept license

