<commit_before>platform: x86

init:
  - call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"

install:
  # Build libprotobuf, libprotoc and protoc.
  - cd C:\
  - curl -L -O https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.zip
  - 7z x protobuf-2.6.1.zip
  - cd protobuf-2.6.1\vsprojects
  - devenv protobuf.sln /Upgrade
  - msbuild protobuf.sln /t:libprotobuf;libprotoc;protoc /p:Configuration="Release" /p:Platform="Win32" /p:BuildProjectReferences=false
  - set PROTOBUF_PREFIX=C:\protobuf-2.6.1

  # Get UPX executable packer
  - cd C:\
  - curl -L -O http://upx.sourceforge.net/download/upx391w.zip
  - 7z x upx391w.zip

  # Replace Qt ICU DLLs with minimal ones.
  - cd C:\Qt\5.5\msvc2013\bin
  - curl -L -O https://github.com/estan/minimal-icu/releases/download/minimal-icu-54.1/minimal-icu-54.1-msvc2013-x86.zip
  - 7z x minimal-icu-54.1-msvc2013-x86.zip

build_script:
  - set PATH=C:\Qt\5.5\msvc2013\bin;C:\upx391w;%PATH%
  - cd "%APPVEYOR_BUILD_FOLDER%"
  - qmake CONFIG-=debug
  - nmake zip

test_script:
  - set PATH=%PROTOBUF_PREFIX%\vsprojects\Release;C:\MinGW\msys\1.0\bin;%PATH%
  - cd "%APPVEYOR_BUILD_FOLDER%"/examples
  - nmake /F NMakefile clean
  - nmake /F NMakefile
  - test -s doc/example.html
  - test -s doc/example.md
  - test -s doc/example.docbook

artifacts:
  path: '*.zip'
  name: protoc-gen-doc-win32-zip
<commit_msg>Always replace when extracting minimal ICU DLLs<commit_after>platform: x86

init:
  - call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"

install:
  # Build libprotobuf, libprotoc and protoc.
  - cd C:\
  - curl -L -O https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.zip
  - 7z x protobuf-2.6.1.zip
  - cd protobuf-2.6.1\vsprojects
  - devenv protobuf.sln /Upgrade
  - msbuild protobuf.sln /t:libprotobuf;libprotoc;protoc /p:Configuration="Release" /p:Platform="Win32" /p:BuildProjectReferences=false
  - set PROTOBUF_PREFIX=C:\protobuf-2.6.1

  # Get UPX executable packer
  - cd C:\
  - curl -L -O http://upx.sourceforge.net/download/upx391w.zip
  - 7z x upx391w.zip

  # Replace Qt ICU DLLs with minimal ones.
  - cd C:\Qt\5.5\msvc2013\bin
  - curl -L -O https://github.com/estan/minimal-icu/releases/download/minimal-icu-54.1/minimal-icu-54.1-msvc2013-x86.zip
  - 7z x minimal-icu-54.1-msvc2013-x86.zip -aoa

build_script:
  - set PATH=C:\Qt\5.5\msvc2013\bin;C:\upx391w;%PATH%
  - cd "%APPVEYOR_BUILD_FOLDER%"
  - qmake CONFIG-=debug
  - nmake zip

test_script:
  - set PATH=%PROTOBUF_PREFIX%\vsprojects\Release;C:\MinGW\msys\1.0\bin;%PATH%
  - cd "%APPVEYOR_BUILD_FOLDER%"/examples
  - nmake /F NMakefile clean
  - nmake /F NMakefile
  - test -s doc/example.html
  - test -s doc/example.md
  - test -s doc/example.docbook

artifacts:
  path: '*.zip'
  name: protoc-gen-doc-win32-zip

{'fraction_non_alphanumeric': 0.14935292060160896, 'fraction_numerical': 0.05316544246239944, 'mean_word_length': 3.126984126984127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4459363', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1180, 'n_words': 211}