<commit_before>version: 1.5.{build}

# branches to build
branches:
  only:
#  - master
  - dev
  
# Operating system (build VM template)
os: Windows Server 2012

# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
  - x86
#  - x64
#  - AnyCPU

configuration:
#  - Debug
  - Release
  
# clone directory
clone_folder: c:\dev\FayeCpp

# scripts that run after cloning repository
install:
  - cinst 7zip.commandline -x86
  - cd c:\dev
  - cd c:\dev\FayeCpp
  - git submodule update --init --recursive
  
build:

build_script:
  - cd c:\dev\FayeCpp
  - md build
  - cd build
  - cmake -DLWS_WITH_SSL:BOOL=OFF -DLWS_SSL_CLIENT_USE_OS_CA_CERTS:BOOL=OFF -DLWS_USE_CYASSL:BOOL=OFF -DLWS_WITHOUT_SERVER:BOOL=ON -DLWS_WITHOUT_DAEMONIZE:BOOL=ON -G"Visual Studio 11" ..
  - dir
  - msbuild /m /p:Configuration=Release /p:Platform="Win32" FayeCpp.sln
  - dir
  - cmd: 7za a -r -t7z c:\dev\release-win32.7z c:\dev\FayeCpp\build
  - dir
  - curl --upload-file c:\dev\release-win32.7z --user <EMAIL>:699e1f2a44ef ftp://node100.net2ftp.ru
  - cd c:\dev


after_build:

test_script:
<commit_msg>Integration script 21<commit_after>version: 1.5.{build}

# branches to build
branches:
  only:
#  - master
  - dev
  
# Operating system (build VM template)
os: Windows Server 2012

# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
  - x86
#  - x64
#  - AnyCPU

configuration:
#  - Debug
  - Release
  
# clone directory
clone_folder: c:\dev\FayeCpp

# scripts that run after cloning repository
install:
  - cinst 7zip.commandline -x86
  - cd c:\dev
  - cd c:\dev\FayeCpp
  - git submodule update --init --recursive
  
build:

build_script:
  - cd c:\dev\FayeCpp
  - md build
  - cd build
  - cmake -DLWS_WITH_SSL:BOOL=OFF -DLWS_SSL_CLIENT_USE_OS_CA_CERTS:BOOL=OFF -DLWS_USE_CYASSL:BOOL=OFF -DLWS_WITHOUT_SERVER:BOOL=ON -DLWS_WITHOUT_DAEMONIZE:BOOL=ON -G"Visual Studio 11" ..
  - dir
  - msbuild /m /p:Configuration=Release /p:Platform="Win32" FayeCpp.sln
  - dir
  - cmd: 7za a -r -t7z c:\dev\release-win32.7z c:\dev\FayeCpp\build -x!8.tlog
  - dir
  - curl --upload-file c:\dev\release-win32.7z --user <EMAIL>:699e1f2a44ef ftp://node100.net2ftp.ru
  - cd c:\dev


after_build:

test_script:

{'fraction_non_alphanumeric': 0.12544964028776978, 'fraction_numerical': 0.03732014388489208, 'mean_word_length': 3.1051660516605164, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5578073', 'n_tokens_mistral': 957, 'n_tokens_neox': 904, 'n_words': 205}