<commit_before>language: android
jdk: openjdk7

env:
  global:
    - NDK_VERSION=r10b

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.cache/ndk

before_install:
  # Required libs for Android build tools
  - sudo apt-get update
  - sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
  # newest Android NDK
  - mkdir -p $HOME/.cache/ndk
  - if [ `uname -m` = x86_64 ]; then curl https://dl.google.com/android/ndk/android-ndk32-${NDK_VERSION}-linux-x86_64.tar.bz2 -z $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2 -o $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2; ln -sf $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2 ndk.tb2; else curl https://dl.google.com/android/ndk/android-ndk32-${NDK_VERSION}-linux-x86.tar.bz2 -z $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2 -o $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2; ln -sf $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2 ndk.tb2; fi
  - tar -jxf ndk.tb2
  - echo "ndk.dir=`pwd`/android-ndk-${NDK_VERSION}" >> local.properties

android:
  components:
    - build-tools-22.0.0
    - extra-android-support
  license:
    - '.+'

script: ./gradlew build check test
<commit_msg>travis: also cache gradle dists<commit_after>language: android
jdk: openjdk7

env:
  global:
    - NDK_VERSION=r10b

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/dists/
    - $HOME/.cache/ndk

before_install:
  # Required libs for Android build tools
  - sudo apt-get update
  - sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
  # newest Android NDK
  - mkdir -p $HOME/.cache/ndk
  - if [ `uname -m` = x86_64 ]; then curl https://dl.google.com/android/ndk/android-ndk32-${NDK_VERSION}-linux-x86_64.tar.bz2 -z $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2 -o $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2; ln -sf $HOME/.cache/ndk/ndk-${NDK_VERSION}-64.tb2 ndk.tb2; else curl https://dl.google.com/android/ndk/android-ndk32-${NDK_VERSION}-linux-x86.tar.bz2 -z $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2 -o $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2; ln -sf $HOME/.cache/ndk/ndk-${NDK_VERSION}-32.tb2 ndk.tb2; fi
  - tar -jxf ndk.tb2
  - echo "ndk.dir=`pwd`/android-ndk-${NDK_VERSION}" >> local.properties

android:
  components:
    - build-tools-22.0.0
    - extra-android-support
  license:
    - '.+'

script: ./gradlew build check test

{'fraction_non_alphanumeric': 0.17543859649122806, 'fraction_numerical': 0.04193410355156183, 'mean_word_length': 3.10896309314587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '5466953', 'n_tokens_mistral': 1045, 'n_tokens_neox': 986, 'n_words': 161}