<commit_before># Turn off email notifications
notifications:
    email: false

# Language setup
language: android

# JDK setup
jdk: oraclejdk7

# Emulator vars
env:
    matrix:
        - ANDROID_TARGET=android-21  ANDROID_ABI=armeabi-v7a

# Android component setup
android:
    components:
        # The BuildTools version used by your project
        - build-tools-21.1.2

        # The SDK version used to compile your project
        - android-21

        # Emulator image
        - sys-img-$ANDROID_ABI-$ANDROID_TARGET

#Prepare
before_install:
    # For gradle output style
    - export TERM=dumb

    # Environment info
    - ./gradlew -v
    - uname -a

before_script:
  # Create and start emulator
  - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
  - emulator -avd test -no-skin -no-audio -no-window &
  - adb wait-for-device
  - adb shell input keyevent 82 &
  - adb kill-server
  - adb start-server 

script: ./gradlew clean build connectedAndroidTest
<commit_msg>minor<commit_after># Turn off email notifications
notifications:
    email: false

# Language setup
language: android

# JDK setup
jdk: oraclejdk7

# Turn off caching
cache: false

# Emulator vars
env:
    global:
        - TERM=dumb
        - GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
        - ANDROID_TARGET=android-21
        - ANDROID_ABI=armeabi-v7a

# Android component setup
android:
    components:
        # Use the latest tools
        - platform-tools
        - tools

        # The BuildTools version used by your project
        - build-tools-21.1.2

        # The SDK version used to compile your project
        - android-21

        # Emulator image
        - sys-img-$ANDROID_ABI-$ANDROID_TARGET

# Environment info
before_install:
    - chmod +x gradlew
    - ./gradlew -v
    - uname -a

before_script:
    # Create and start emulator
    - ps auxww
    - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
    - emulator -avd test -no-skin -no-audio -no-window &
    - android-wait-for-emulator
    - adb shell input keyevent 82 &

script: ./gradlew clean build connectedAndroidTest --info

{'fraction_non_alphanumeric': 0.08298562818729717, 'fraction_numerical': 0.013908205841446454, 'mean_word_length': 2.3561430793157077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4060428', 'n_tokens_mistral': 736, 'n_tokens_neox': 697, 'n_words': 208}