<commit_before>language: android
jdk: oraclejdk8
android:
  components:
    - tools # to get the new `repository-11.xml`
    - platform-tools
    - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
    - build-tools-25.0.1
    - android-25
# Without these the build fails
    - extra-google-m2repository
    - extra-android-m2repository
    - sys-img-armeabi-v7a-android-25

# To automatically accept various licenses when prompted, so that we don't get stuck
licenses:
    - 'android-sdk-preview-license-.+'
    - 'android-sdk-license-.+'
    - 'google-gdk-license-.+'

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

script:
    - ./scripts/local-wrapper.bash
#    - cd Examples/restcomm-olympus && ./gradlew build <commit_msg>Working on #520: Introduce Olympus UI Testing: trying different .travis.yml configuration to fix emulator<commit_after>language: android
jdk: oraclejdk8
android:
  components:
    - tools # to get the new `repository-11.xml`
    - platform-tools
    - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
    - build-tools-25.0.1
    - android-25
# Without these the build fails
    - extra-google-m2repository
    - extra-android-m2repository
#   - sys-img-armeabi-v7a-android-25
    - sys-img-armeabi-v7a-google_apis-22

# To automatically accept various licenses when prompted, so that we don't get stuck
licenses:
    - 'android-sdk-preview-license-.+'
    - 'android-sdk-license-.+'
    - 'google-gdk-license-.+'

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

script:
    - ./scripts/local-wrapper.bash
#    - cd Examples/restcomm-olympus && ./gradlew build 
{'fraction_non_alphanumeric': 0.12362132352941177, 'fraction_numerical': 0.03354779411764706, 'mean_word_length': 2.894454382826476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3540569', 'n_tokens_mistral': 772, 'n_tokens_neox': 736, 'n_words': 186}