<commit_before>language: scala

scala:
  - 2.11.7
  - 2.10.6

jdk:
  - oraclejdk8

notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/0e11823ea12783811cd8
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always<commit_msg>Install Haxe<commit_after>sudo: false

cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot/
    - $HOME/.haxelib-local/

language: scala

addons:
  apt:
    packages:
    - mono-devel
    - libgc1c2

before_install:
 - travis_retry wget http://nekovm.org/media/neko-2.0.0-linux64.tar.gz
 - tar zxvf neko-2.0.0-linux64.tar.gz
 - travis_retry wget http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/linux64/"$HAXE_FILE"
 - tar zxvf "$HAXE_FILE"
 - mv haxe-*/ haxe/
 - export PATH=$PATH:$PWD/haxe:$PWD/neko-2.0.0-linux
 - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/neko-2.0.0-linux
 - export HAXE_STD_PATH=$PWD/haxe/std
 - haxelib setup $HOME/.haxelib-local
 - if [[ "$HAXE_TARGET" = "java" ]]; then travis_retry haxelib install hxjava --always; fi

install:
  - sbt ";++$TRAVIS_SCALA_VERSION;haxelibInstallDependencies;update"

script:
  - sbt ";++$TRAVIS_SCALA_VERSION;$SBT_COMMAND"

before_cache:
  - find $HOME/.sbt -name '*.lock' | xargs rm
  - find $HOME/.ivy2 -name 'ivydata-*.properties' | xargs rm

jdk:
  - oraclejdk8

env:
  matrix:
    # Haxe 3.2.1
    - SBT_COMMAND=test HAXE_TARGET=java HAXE_FILE=haxe_2015-10-12_master_deab442.tar.gz

scala:
  - 2.10.6
  - 2.11.7

notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/0e11823ea12783811cd8
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always

{'fraction_non_alphanumeric': 0.14037774374680959, 'fraction_numerical': 0.04389994895354773, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6287283', 'n_tokens_mistral': 864, 'n_tokens_neox': 818, 'n_words': 135}