<commit_before>sudo: true
language: android

jdk:
  # the release build infrastructure uses OpenJDK from Debian
  - openjdk7
  # many developers use the Oracle JDK
  # (sometimes Travis cannot reliably start the emulator with these)
  - oraclejdk8
  - oraclejdk7

before_install:
  - sudo add-apt-repository ppa:guardianproject/ppa -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq strip-nondeterminism libarchive-zip-perl

android:
  components:
    - tools
    - platform-tools
    - build-tools-23.0.2
    - android-23
  licenses:
    # only approve the free software licenses
    - 'android-sdk-preview-license-52d11cd2'
    - 'android-sdk-license-.+'

script:
  # run release build script
  - ./make-release-build

after_failure:
  - find * -name lint-results.xml | xargs cat<commit_msg>travis-ci: update for current versions and gradle build<commit_after>sudo: true
language: android

jdk:
  # the release build infrastructure uses OpenJDK from Debian
  - openjdk8
  # many developers use the Oracle JDK
  # (sometimes Travis cannot reliably start the emulator with these)
  - oraclejdk8

before_install:
  - sudo add-apt-repository ppa:guardianproject/ppa -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq strip-nondeterminism libarchive-zip-perl ant ant-optional

android:
  components:
    - tools
    - platform-tools
    - build-tools-24.0.0
    - android-23
  licenses:
    # only approve the free software licenses
    - 'android-sdk-preview-license-52d11cd2'
    - 'android-sdk-license-.+'

script:
  - ./gradlew jarRelease
  - for f in build/libs/*.*; do sha256sum $f; done
  # run release build script
  - ./make-release-build

after_failure:
  - find * -name lint-results.xml | xargs cat
{'fraction_non_alphanumeric': 0.09280742459396751, 'fraction_numerical': 0.01740139211136891, 'mean_word_length': 3.011627906976744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7093454', 'n_tokens_mistral': 596, 'n_tokens_neox': 555, 'n_words': 165}