<commit_before># The first thing is to tell which VM environment we want the test to be run on.
# It dosen't quite matter for Haxe, just choose one of the targets our project support (e.g. PHP),
# and than apt-get install the others (e.g. Neko, C++).
# For more info, see http://about.travis-ci.org/docs/user/ci-environment/
language: php 

env:
    matrix:
    - TARGET=cpp
    - TARGET=cs
    - TARGET=java
    - TARGET=neko
    - TARGET=node
    - TARGET=php

matrix:
  fast_finish: true
  allow_failures:
    - env: TARGET=cs

 
# Install Haxe before running the test.
before_script:
  - git submodule update --init --recursive            # update utest
  # - sudo apt-get install python-software-properties -y # for the next command
  - sudo add-apt-repository ppa:eyecreate/haxe -y      # add the ubuntu ppa that contains haxe
  - sudo apt-get update                                # pull info from ppa
  - sudo apt-get install haxe -y                       # install haxe (and neko)
  - sudo apt-get install gcc-multilib g++-multilib -y  # VM is 64bit but hxcpp builds 32bit
  - mkdir ~/haxelib                                    # create a folder for installing haxelib
  - haxelib setup ~/haxelib
  - haxelib install hxcpp                              # install hxcpp to test C++ target
  - haxelib install hxjava                             # install hxjava to test C++ target
  - haxelib install monax                              # dependency
  - haxelib install nodejs                             # dependency
 
# Run the test!
script:
  - haxe test.${TARGET}.hxml

branches:
      only:
          - master <commit_msg>give the right hxml dir for travis<commit_after># The first thing is to tell which VM environment we want the test to be run on.
# It dosen't quite matter for Haxe, just choose one of the targets our project support (e.g. PHP),
# and than apt-get install the others (e.g. Neko, C++).
# For more info, see http://about.travis-ci.org/docs/user/ci-environment/
language: php 

env:
    matrix:
    - TARGET=cpp
    - TARGET=cs
    - TARGET=java
    - TARGET=neko
    - TARGET=node
    - TARGET=php

matrix:
  fast_finish: true
  allow_failures:
    - env: TARGET=cs

 
# Install Haxe before running the test.
before_script:
  - git submodule update --init --recursive            # update utest
  # - sudo apt-get install python-software-properties -y # for the next command
  - sudo add-apt-repository ppa:eyecreate/haxe -y      # add the ubuntu ppa that contains haxe
  - sudo apt-get update                                # pull info from ppa
  - sudo apt-get install haxe -y                       # install haxe (and neko)
  - sudo apt-get install gcc-multilib g++-multilib -y  # VM is 64bit but hxcpp builds 32bit
  - mkdir ~/haxelib                                    # create a folder for installing haxelib
  - haxelib setup ~/haxelib
  - haxelib install hxcpp                              # install hxcpp to test C++ target
  - haxelib install hxjava                             # install hxjava to test C++ target
  - haxelib install monax                              # dependency
  - haxelib install nodejs                             # dependency
 
# Run the test!
script:
  - haxe hxml/test.${TARGET}.hxml

branches:
      only:
          - master 
{'fraction_non_alphanumeric': 0.07811550151975684, 'fraction_numerical': 0.0024316109422492403, 'mean_word_length': 1.81763698630137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '43226', 'n_tokens_mistral': 1048, 'n_tokens_neox': 986, 'n_words': 354}