<commit_before>language: android
jdk: oraclejdk8

env:
  global:
  - ANDROID_TARGET=android-27
  - ANDROID_API_LEVEL=27
  - ANDROID_EMULATOR_API=27
  - ANDROID_BUILD_TOOLS_VERSION=27.0.3
  - ANDROID_ABI=google_apis/armeabi-v7a
  - ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)

notifications:
  slack:
    rooms:
      - orchextra:m4j1PrSCNml7lVi7bPexvQBP#development
    on_success: always
    on_failure: always

android:
  components:
    - platform-tools
    - tools
    - build-tools-$ANDROID_BUILD_TOOLS_VERSION
    - android-$ANDROID_API_LEVEL
    - extra-android-support
    - extra-google-m2repository
    - extra-google-google_play_services
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-26
    - sys-img-armeabi-v7a-android-27
    - sys-img-armeabi-v7a-google_apis-google-$ANDROID_API_LEVEL

before_install:
  - chmod +x gradlew
  - cd $TRAVIS_BUILD_DIR/
  - pip install --user codecov

before_script:
  - echo no | android create avd --force -n test -t android-$ANDROID_EMULATOR_API --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell settings put global window_animation_scale 0 &
  - adb shell settings put global transition_animation_scale 0 &
  - adb shell settings put global animator_duration_scale 0 &
  - adb shell input keyevent 82 &

script:
  - ./gradlew build jacocoTestReport
  - ./gradlew check
  - if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then ./gradlew appliveryDeploy; fi

after_success:
  - ./gradlew jacocoFullReport
  - codecov
  - bash <(curl -s https://codecov.io/bash)
<commit_msg>Build: change emulator package for travis<commit_after>language: android
jdk: oraclejdk8

env:
  global:
  - ANDROID_TARGET=android-27
  - ANDROID_API_LEVEL=27
  - ANDROID_EMULATOR_API=27
  - ANDROID_BUILD_TOOLS_VERSION=27.0.3
  - ANDROID_ABI=google_apis/armeabi-v7a
  - ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)

notifications:
  slack:
    rooms:
      - orchextra:m4j1PrSCNml7lVi7bPexvQBP#development
    on_success: always
    on_failure: always

android:
  components:
    - platform-tools
    - tools
    - build-tools-$ANDROID_BUILD_TOOLS_VERSION
    - android-$ANDROID_API_LEVEL
    - extra-android-support
    - extra-google-m2repository
    - extra-google-google_play_services
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-26
    - sys-img-armeabi-v7a-android-27
    - sys-img-armeabi-v7a-google_apis-google-$ANDROID_API_LEVEL

before_install:
  - chmod +x gradlew
  - cd $TRAVIS_BUILD_DIR/
  - pip install --user codecov

before_script:
  - echo no | android create avd --force -n test -t android-27 --abi google_apis/armeabi-v7a
  - emulator -avd test -no-skin -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell settings put global window_animation_scale 0 &
  - adb shell settings put global transition_animation_scale 0 &
  - adb shell settings put global animator_duration_scale 0 &
  - adb shell input keyevent 82 &

script:
  - ./gradlew build jacocoTestReport
  - ./gradlew check
  - if [[ "$TRAVIS_EVENT_TYPE" == "cron" ]]; then ./gradlew appliveryDeploy; fi

after_success:
  - ./gradlew jacocoFullReport
  - codecov
  - bash <(curl -s https://codecov.io/bash)

{'fraction_non_alphanumeric': 0.09827479975354282, 'fraction_numerical': 0.021256931608133085, 'mean_word_length': 3.2389033942558747, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3246116', 'n_tokens_mistral': 1256, 'n_tokens_neox': 1206, 'n_words': 237}