<commit_before>language: android

sudo: required

jdk:
- oraclejdk8

android:
  components:
    - tools # to get the new `repository-11.xml`
    - tools # to install latest Android SDK tools
    - platform-tools
    - build-tools-27.0.3
    - android-27
    - extra-android-m2repository # Design Support library
    - android-21
    - sys-img-armeabi-v7a-android-21 # system image (emulator)
  licenses:
  - android-sdk-license-.+
  
env:
  global:
  - ADB_INSTALL_TIMEOUT=8 # timeout (in minutes)

before_script:
  # Automatically accept all SDK licences
  - echo yes | android update sdk --no-ui --all --filter build-tools-27.0.3,android-27,extra-android-m2repository
  # Emulator Management: create, start & wait
  - 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 connectedCheck
  - ./gradlew connectedAndroidTest<commit_msg>Update Travis<commit_after>language: android

sudo: required

jdk:
- oraclejdk8

android:
  components:
    - tools # to get the new `repository-11.xml`
    - tools # to install latest Android SDK tools
    - platform-tools
    - build-tools-28.0.3
    - android-28
    - extra-android-m2repository # Design Support library
    - android-21
    - sys-img-armeabi-v7a-android-21 # system image (emulator)
  licenses:
  - android-sdk-license-.+
  
env:
  global:
  - ADB_INSTALL_TIMEOUT=8 # timeout (in minutes)

before_script:
  # Automatically accept all SDK licences
  - echo yes | android update sdk --no-ui --all --filter build-tools-28.0.3,android-28,extra-android-m2repository
  # Emulator Management: create, start & wait
  - 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 connectedCheck
  - ./gradlew connectedAndroidTest
{'fraction_non_alphanumeric': 0.1087378640776699, 'fraction_numerical': 0.027184466019417475, 'mean_word_length': 2.816666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6360899', 'n_tokens_mistral': 715, 'n_tokens_neox': 681, 'n_words': 188}