<commit_before>language: android

sudo: false

jdk: oraclejdk8

# Update to the lastest JDK8
addons:
  apt:
    packages:
      - oracle-java8-installer

before_cache:
  - rm -f ${TRAVIS_BUILD_DIR}/gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - ${TRAVIS_BUILD_DIR}/gradle/caches/
    - ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/

notifications:
  email:
    -  <EMAIL> 

env:
  global:
    - INSTALL_PKGS='build-tools-23.0.1,android-23'
    - UPDATE_PKGS='platform-tools,tools,extra-android-m2repository,extra-google-m2repository'
    - GRADLE_USER_HOME="${TRAVIS_BUILD_DIR}/gradle"
    - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
    - AVD_DEBUG='init,avd_config,nand_limits,keys,adb,adbserver,adbclient'
    - ANDROID_LOG_TAGS='NetworkStats:S dalvikvm:S Zygote:S Resources:S *:D'
    - ANDROID_SERIAL='emulator-5554'

matrix:
  include:
    - env: AVD_TARGET=android-15
    - env: AVD_TARGET=android-17
    - env: AVD_TARGET=android-19
    - env: AVD_TARGET=android-21
    - env: AVD_TARGET=android-23
           TARGET_PKGS=sys-img-armeabi-v7a-android-23
#    - env: AVD_TARGET='Google Inc.:Google APIs:21' AVD_TAG=google_apis
#           TARGET_PKGS=addon-google_apis-google-21,sys-img-armeabi-v7a-addon-google_apis-google-21
  allow_failures:
    - env: AVD_TARGET=android-23
           TARGET_PKGS=sys-img-armeabi-v7a-android-23
#    - env: AVD_TARGET='Google Inc.:Google APIs:21' AVD_TAG=google_apis
#           TARGET_PKGS=addon-google_apis-google-21,sys-img-armeabi-v7a-addon-google_apis-google-21
  fast_finish: true

before_install:
  - cd ./ReactiveCascade
  - chmod +x execute
  - chmod +x scripts/acib
  - ./execute install-and-update-sdk
  - ./execute create-and-start-device wait-for-device-online

install:
  - chmod +x gradlew
  - ./gradlew --version # show version and download Gradle Wrapper when is not present in cache
  - ./gradlew clean # clean project and download Android dependencies when are not present in cache
  - ./gradlew assemble --stacktrace

before_script:<commit_msg>Concurrent emulator start<commit_after>language: android

sudo: false

jdk: oraclejdk8

# Update to the lastest JDK8
addons:
  apt:
    packages:
      - oracle-java8-installer

before_cache:
  - rm -f ${TRAVIS_BUILD_DIR}/gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - ${TRAVIS_BUILD_DIR}/gradle/caches/
    - ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/

notifications:
  email:
    -  <EMAIL> 

env:
  global:
    - INSTALL_PKGS='build-tools-23.0.1,android-23'
    - UPDATE_PKGS='platform-tools,tools,extra-android-m2repository,extra-google-m2repository'
    - GRADLE_USER_HOME="${TRAVIS_BUILD_DIR}/gradle"
    - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
    - AVD_DEBUG='init,avd_config,nand_limits,keys,adb,adbserver,adbclient'
    - ANDROID_LOG_TAGS='NetworkStats:S dalvikvm:S Zygote:S Resources:S *:D'
    - ANDROID_SERIAL='emulator-5554'

matrix:
  include:
    - env: AVD_TARGET=android-15
    - env: AVD_TARGET=android-17
    - env: AVD_TARGET=android-19
    - env: AVD_TARGET=android-21
    - env: AVD_TARGET=android-23
           TARGET_PKGS=sys-img-armeabi-v7a-android-23
#    - env: AVD_TARGET='Google Inc.:Google APIs:21' AVD_TAG=google_apis
#           TARGET_PKGS=addon-google_apis-google-21,sys-img-armeabi-v7a-addon-google_apis-google-21
  allow_failures:
    - env: AVD_TARGET=android-23
           TARGET_PKGS=sys-img-armeabi-v7a-android-23
#    - env: AVD_TARGET='Google Inc.:Google APIs:21' AVD_TAG=google_apis
#           TARGET_PKGS=addon-google_apis-google-21,sys-img-armeabi-v7a-addon-google_apis-google-21
  fast_finish: true

before_install:
  - cd ./ReactiveCascade
  - chmod +x execute
  - chmod +x scripts/acib
  - ./execute install-and-update-sdk
  - ./execute create-and-start-device wait-for-device-online &

install:
  - chmod +x gradlew
  - ./gradlew --version # show version and download Gradle Wrapper when is not present in cache
  - ./gradlew clean # clean project and download Android dependencies when are not present in cache
  - ./gradlew assemble --stacktrace

before_script:
{'fraction_non_alphanumeric': 0.11722956436612825, 'fraction_numerical': 0.024963289280469897, 'mean_word_length': 3.511037527593819, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013215', 'n_tokens_mistral': 1598, 'n_tokens_neox': 1515, 'n_words': 251}