build:
  template_file: test-android-opt-base.tyml
  dependencies:
    - "swig-linux-amd64"
    - "android-x86_64-cpu-opt"
    - "test-training_16k-linux-amd64-py36m-opt"
    - "gradle-cache"
    - "android-cache-x86_64-android-25"
  test_model_task: "test-training_16k-linux-amd64-py36m-opt"
  system_setup:
    >
      apt-get -qq -y install curl make python
  cache:
    url: ${system.android_cache.x86_64.android_25.url}
    namespace: ${system.android_cache.x86_64.android_25.namespace}
  gradle_cache:
    url: ${system.gradle_cache.url}
    namespace: ${system.gradle_cache.namespace}
  args:
    tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-android-apk-tests.sh x86_64 android-25 16k"
  workerType: "${docker.dsHighMemTests}"
  metadata:
    name: "DeepSpeech Android 7.1 x86_64 Google Pixel APK/Java tests"
    description: "Testing DeepSpeech APK/Java for Android 7.1 x86_64 Google Pixel, optimized version"
