<commit_before>version: '{build}'

environment:
  matrix:
    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0

# Do not build on tags
skip_tags: true

# Fix line endings in Windows. (runs before repo cloning)
init:
  - git config --global core.autocrlf input

# Install Chrome
choco install -y googlechrome

# Install scripts--runs after repo cloning
install:
  - ps: |
      Add-Type -AssemblyName System.IO.Compression.FileSystem
      if (!(Test-Path -Path "C:\maven" )) {
        (new-object System.Net.WebClient).DownloadFile(
          'http://www.us.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip',
          'C:\maven-bin.zip'
        )
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
      $env:Path +=";C:\maven\apache-maven-3.5.0\bin;%JAVA_HOME%\bin"

cache:
  - "C:\Program Files (x86)\Google\Chrome\"
  - "C:\maven\"
  - "C:\Users\appveyor\.m2"

build_script:
  - mvn -q clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

test_script:
  - wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value
  - mvn clean test<commit_msg>user program files variable instead of absolute path<commit_after>version: '{build}'

environment:
  matrix:
    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0

# Do not build on tags
skip_tags: true

# Fix line endings in Windows. (runs before repo cloning)
init:
  - git config --global core.autocrlf input

# Install Chrome
choco install -y googlechrome

# Install scripts--runs after repo cloning
install:
  - ps: |
      Add-Type -AssemblyName System.IO.Compression.FileSystem
      if (!(Test-Path -Path "C:\maven" )) {
        (new-object System.Net.WebClient).DownloadFile(
          'http://www.us.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip',
          'C:\maven-bin.zip'
        )
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
      $env:Path +=";C:\maven\apache-maven-3.5.0\bin;%JAVA_HOME%\bin"

cache:
  - '%PROGRAMFILES%\Google\Chrome'
  - '%PROGRAMFILES(x86)%\Google\Chrome'
  - C:\maven
  - C:\Users\appveyor\.m2

build_script:
  - mvn -q clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

test_script:
  - wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value
  - mvn clean test
{'fraction_non_alphanumeric': 0.15724308708212958, 'fraction_numerical': 0.014857614527445316, 'mean_word_length': 2.9737704918032786, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3891753', 'n_tokens_mistral': 919, 'n_tokens_neox': 862, 'n_words': 175}