<commit_before>language: android

jdk:
  - oraclejdk8
  - oraclejdk7

android:
  components:
    - platform-tools
    - tools
    - build-tools-21.1.1
    - android-21
    - extra-google-google_play_services
    - android-19
    - extra-android-support
    - extra-google-m2repository
    - extra-android-m2repository
    - addon-google_apis-google-19
    - sys-img-armeabi-v7a-addon-google_apis-google-19

notifications:
  irc: "irc.freenode.org#aerogear"

env:
  global:
    - RELEASE_VERSION=$(grep "<version>" pom.xml | tr "\n" ":" | cut -d ':' -f1 | sed s/\<version\>//g| sed s/\"//g| sed s/\<\\/version\>//g | tr -d ' ')
  matrix:
    - ANDROID_SDK=android-21 ANDROID_EMULATOR=android-19 ANDROID_ABI=armeabi-v7a

before_install:

  # Kill unnecessary services
  - sudo service mysql stop
  - sudo service postgresql stop

  #################################################
  ########## maven-android-sdk-deployer ###########
  #################################################

  # Checkout maven-android-sdk-deployer
  - git clone git://github.com/mosabua/maven-android-sdk-deployer.git

  # Install android maven repository
  - cd $PWD/maven-android-sdk-deployer/platforms/$ANDROID_SDK
  - mvn  install -N --quiet
  - cd -
  #Install support testing repositories  
  - cd $PWD/maven-android-sdk-deployer/repositories
  - mvn  install 
  - cd -
  
  #################################################
  ############ Snapshot dependencies ##############
  #################################################

  # AeroGear Android Core
  - git clone git://github.com/aerogear/aerogear-android-core.git
  - cd $PWD/aerogear-android-core
  - mvn install -N --quiet
  - cd -

  # AeroGear Android Pipe
  - git clone git://github.com/aerogear/aerogear-android-pipe.git
  - cd $PWD/aerogear-android-pipe<commit_msg>Force travis to use new container-based infrastructure<commit_after>sudo: false # See: docs.travis-ci.com/user/migrating-from-legacy

language: android

jdk:
  - oraclejdk8
  - oraclejdk7

android:
  components:
    - platform-tools
    - tools
    - build-tools-21.1.1
    - android-21
    - extra-google-google_play_services
    - android-19
    - extra-android-support
    - extra-google-m2repository
    - extra-android-m2repository
    - addon-google_apis-google-19
    - sys-img-armeabi-v7a-addon-google_apis-google-19

notifications:
  irc: "irc.freenode.org#aerogear"

env:
  global:
    - RELEASE_VERSION=$(grep "<version>" pom.xml | tr "\n" ":" | cut -d ':' -f1 | sed s/\<version\>//g| sed s/\"//g| sed s/\<\\/version\>//g | tr -d ' ')
  matrix:
    - ANDROID_SDK=android-21 ANDROID_EMULATOR=android-19 ANDROID_ABI=armeabi-v7a

before_install:

  #################################################
  ########## maven-android-sdk-deployer ###########
  #################################################

  # Checkout maven-android-sdk-deployer
  - git clone git://github.com/mosabua/maven-android-sdk-deployer.git

  # Install android maven repository
  - cd $PWD/maven-android-sdk-deployer/platforms/$ANDROID_SDK
  - mvn  install -N --quiet
  - cd -
  #Install support testing repositories  
  - cd $PWD/maven-android-sdk-deployer/repositories
  - mvn  install 
  - cd -
  
  #################################################
  ############ Snapshot dependencies ##############
  #################################################

  # AeroGear Android Core
  - git clone git://github.com/aerogear/aerogear-android-core.git
  - cd $PWD/aerogear-android-core
  - mvn install -N --quiet
  - cd -

  # AeroGear Android Pipe
  - git clone git://github.com/aerogear/aerogear-android-pipe.git
  - cd $PWD/aerogear-android-pipe
{'fraction_non_alphanumeric': 0.24608624004394397, 'fraction_numerical': 0.012633891787970338, 'mean_word_length': 3.2152777777777777, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 9, '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': '2580455', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1231, 'n_words': 206}