<commit_before>sudo: false

language: go

go:
  - 1.4
  - 1.5
  - tip

env:
  matrix:
    - ES_VERSION=2.0.0-beta1

before_script:
  - mkdir ${HOME}/elasticsearch
  - wget http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz
  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  - echo echo "script.inline: on" >> ${HOME}/elasticsearch/config/elasticsearch.yml
  - echo echo "script.indexed: on" >> ${HOME}/elasticsearch/config/elasticsearch.yml
  - cat ${HOME}/elasticsearch/config/elasticsearch.yml
  - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >& /dev/null &
  - sleep 15<commit_msg>Travis build fixes (5 of ?)<commit_after>sudo: false

language: go

go:
  - 1.4
  - 1.5
  - tip

env:
  matrix:
    - ES_VERSION=2.0.0-beta1

before_script:
  - mkdir ${HOME}/elasticsearch
  - wget http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ES_VERSION}/elasticsearch-${ES_VERSION}.tar.gz
  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  - echo echo \"script.inline: on\" >> ${HOME}/elasticsearch/config/elasticsearch.yml
  - echo echo \"script.indexed: on\" >> ${HOME}/elasticsearch/config/elasticsearch.yml
  - cat ${HOME}/elasticsearch/config/elasticsearch.yml
  - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >& /dev/null &
  - sleep 15
{'fraction_non_alphanumeric': 0.1594885598923284, 'fraction_numerical': 0.014131897711978465, 'mean_word_length': 3.9566666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1137733', 'n_tokens_mistral': 490, 'n_tokens_neox': 502, 'n_words': 78}