<commit_before>language: csharp
solution: csharp/SparkCLR.sln
sudo: required
dist: trusty
before_install:
  - nuget install NUnit.Runners -Version 3.0.0 -OutputDirectory testrunner
  # install maven 3.3.3
  - sudo apt-get purge maven
  - wget http://archive.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
  - tar zxf apache-maven-3.3.3-bin.tar.gz && rm apache-maven-3.3.3-bin.tar.gz
  - sudo mv apache-maven-3.3.3 /usr/local
  - sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/bin/mvn
script:
  - export MAVEN_OPTS="-XX:MaxPermSize=2g -Xmx4g"
  - export JAVA_OPTS="-XX:MaxPermSize=2g -Xmx4g"
  - export NUNITCONSOLE="`pwd`/testrunner/NUnit.Console.3.0.0/tools/nunit3-console.exe"
  - ./build.sh
  - ./csharp/test.sh
  - ./run-samples.sh --validate
<commit_msg>travis fix: install mvn 3.3.3<commit_after>language: csharp
solution: csharp/SparkCLR.sln
sudo: required
dist: trusty
install:
  - nuget install NUnit.Runners -Version 3.0.0 -OutputDirectory testrunner
  # install maven 3.3.3
  - wget http://archive.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
  - tar zxf apache-maven-3.3.3-bin.tar.gz && rm apache-maven-3.3.3-bin.tar.gz
  - export M2_HOME="$PWD/apache-maven-3.3.3"
  - export M2="$M2_HOME/bin"
  - export PATH="$M2:$PATH"
  - hash -r
script:
  - export MAVEN_OPTS="-XX:MaxPermSize=2g -Xmx4g"
  - export JAVA_OPTS="-XX:MaxPermSize=2g -Xmx4g"
  - export NUNITCONSOLE="`pwd`/testrunner/NUnit.Console.3.0.0/tools/nunit3-console.exe"
  - ./build.sh
  - ./csharp/test.sh
  - ./run-samples.sh --validate

{'fraction_non_alphanumeric': 0.16836086404066072, 'fraction_numerical': 0.044472681067344345, 'mean_word_length': 3.1338582677165356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '43914', 'n_tokens_mistral': 722, 'n_tokens_neox': 677, 'n_words': 103}