<commit_before>build: false
version: "{branch}-{build}"

environment:
  BOOST_INCLUDEDIR: C:\Libraries\boost
  BOOST_LIBRARYDIR: C:\Libraries\boost\lib32-msvc-12.0
  LIBOGG: libogg-1.3.2
  LIBOGG_CONFIG: Release
  LIBOGG_PLAT: Win32
  LIBRARY_PATH: C:\projects\bfg9000\lib
  PYTHON_PATH: C:\Python27
  NO_SCALA_TEST: 1
  NO_GCJ_TEST: 1

  matrix:
    - VS: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
      CHOCO_EXTRAS: gnuwin32-make.portable
      CPPFLAGS: /IC:\projects\bfg9000\include /WX /EHsc
    - VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
      CHOCO_EXTRAS: gnuwin32-make.portable
      CPPFLAGS: /IC:\projects\bfg9000\include /WX /EHsc
      BOOST_INCLUDEDIR: C:\Libraries\boost_1_59_0
      BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib32-msvc-14.0
    - BACKENDS: ninja make
      CC: gcc
      CXX: g++
      CPPFLAGS: -IC:\projects\bfg9000\include -Wall -Werror
      MAKE: mingw32-make
      MINGW_PATH: C:\msys64\mingw64\bin

cache:
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml

install:
  - |
    curl -LO http://downloads.xiph.org/releases/ogg/%LIBOGG%.zip
    7z x -y %LIBOGG%.zip > nul
    msbuild %LIBOGG%\win32\VS2010\libogg_static.sln /p:Configuration=%LIBOGG_CONFIG% /p:Platform=%LIBOGG_PLAT%
    mkdir lib
    copy %LIBOGG%\win32\VS2010\%LIBOGG_PLAT%\%LIBOGG_CONFIG%\libogg_static.lib lib\ogg.lib
    robocopy %LIBOGG%\include include *.h /E & exit 0
  - cinst ninja gnuwin32-coreutils.portable %CHOCO_EXTRAS%
  - if defined VS call "%VS%" x86
  - set PATH=%PYTHON_PATH%;%PYTHON_PATH%\Scripts;%MINGW_PATH%;%PATH%
  - pip install .
test_script:
  - python setup.py test -q
<commit_msg>Install msbuild extra on Appveyor<commit_after>build: false
version: "{branch}-{build}"

environment:
  BOOST_INCLUDEDIR: C:\Libraries\boost
  BOOST_LIBRARYDIR: C:\Libraries\boost\lib32-msvc-12.0
  LIBOGG: libogg-1.3.2
  LIBOGG_CONFIG: Release
  LIBOGG_PLAT: Win32
  LIBRARY_PATH: C:\projects\bfg9000\lib
  PYTHON_PATH: C:\Python27
  NO_SCALA_TEST: 1
  NO_GCJ_TEST: 1
  BACKENDS: ninja make msbuild

  matrix:
    - VS: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
      CHOCO_EXTRAS: gnuwin32-make.portable
      CPPFLAGS: /IC:\projects\bfg9000\include /WX /EHsc
    - VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
      CHOCO_EXTRAS: gnuwin32-make.portable
      CPPFLAGS: /IC:\projects\bfg9000\include /WX /EHsc
      BOOST_INCLUDEDIR: C:\Libraries\boost_1_59_0
      BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib32-msvc-14.0
    - BACKENDS: ninja make
      CC: gcc
      CXX: g++
      CPPFLAGS: -IC:\projects\bfg9000\include -Wall -Werror
      MAKE: mingw32-make
      MINGW_PATH: C:\msys64\mingw64\bin

cache:
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml

install:
  - |
    curl -LO http://downloads.xiph.org/releases/ogg/%LIBOGG%.zip
    7z x -y %LIBOGG%.zip > nul
    msbuild %LIBOGG%\win32\VS2010\libogg_static.sln /p:Configuration=%LIBOGG_CONFIG% /p:Platform=%LIBOGG_PLAT%
    mkdir lib
    copy %LIBOGG%\win32\VS2010\%LIBOGG_PLAT%\%LIBOGG_CONFIG%\libogg_static.lib lib\ogg.lib
    robocopy %LIBOGG%\include include *.h /E & exit 0
  - cinst ninja gnuwin32-coreutils.portable %CHOCO_EXTRAS%
  - if defined VS call "%VS%" x86
  - set PATH=%PYTHON_PATH%;%PYTHON_PATH%\Scripts;%MINGW_PATH%;%PATH%
  - pip install lxml==3.6.0 .
test_script:
  - python setup.py test -q

{'fraction_non_alphanumeric': 0.12852664576802508, 'fraction_numerical': 0.047021943573667714, 'mean_word_length': 3.376558603491272, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '2426137', 'n_tokens_mistral': 1580, 'n_tokens_neox': 1420, 'n_words': 245}