<commit_before>version: 1.0.{build}

branches:
  except:
    - gh-pages

skip_commits:
  message: /\[ci skip\]/

image: Visual Studio 2017

platform:
  - x64
 
configuration:
  - Release
  - Debug

init:
  - git config --global core.autocrlf input

clone_depth: 5
  
install:
  - git clone --depth=1 https://github.com/google/googletest.git
  - cd googletest
  - mkdir build && cd build
  - cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\local -G "Visual Studio 15 2017 Win64" ..
  - cmake --build . --config Release --target install

before_build:
  - cd %APPVEYOR_BUILD_FOLDER%
  - mkdir build && cd build
  - cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\local -G "Visual Studio 15 2017 Win64" ..

build:
  parallel: true
  project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln

test_script:
  - '%APPVEYOR_BUILD_FOLDER%\build\src\tests\%CONFIGURATION%\unit_tests.exe --gtest_output=xml:unit_tests.xml'

on_finish:
  - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unit_tests.xml))<commit_msg>Special flags added for GTest in appveyor<commit_after>version: 1.0.{build}

branches:
  except:
    - gh-pages

skip_commits:
  message: /\[ci skip\]/

image: Visual Studio 2017

platform:
  - x64
 
configuration:
  - Release
  - Debug

init:
  - git config --global core.autocrlf input

clone_depth: 5
  
install:
  - git clone --depth=1 https://github.com/google/googletest.git
  - cd googletest
  - mkdir build && cd build
  - cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\local -G "Visual Studio 15 2017 Win64" -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 ..
  - cmake --build . --config Release --target install

before_build:
  - cd %APPVEYOR_BUILD_FOLDER%
  - mkdir build && cd build
  - cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\local -G "Visual Studio 15 2017 Win64" ..

build:
  parallel: true
  project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln

test_script:
  - '%APPVEYOR_BUILD_FOLDER%\build\src\tests\%CONFIGURATION%\unit_tests.exe --gtest_output=xml:unit_tests.xml'

on_finish:
  - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unit_tests.xml))
{'fraction_non_alphanumeric': 0.13182016586643386, 'fraction_numerical': 0.024879965080750764, 'mean_word_length': 3.8456659619450315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '705237', 'n_tokens_mistral': 938, 'n_tokens_neox': 879, 'n_words': 167}