<commit_before>build: false
shallow_clone: false
platform: 'x86'
clone_folder: c:\projects\cakephp

cache:
  - '%LOCALAPPDATA%\Composer'
  - '%APPDATA%\Composer'

branches:
  only:
    - master
    - 3.next
    - 4.x
environment:
  global:
    PHP: "C:/PHP"

  matrix:
      - db: 2012
        db_dsn: 'sqlserver://sa:Password12!@.\SQL2012SP1/cakephp?MultipleActiveResultSets=false'

services:
  - mssql2012sp1

init:
  - SET PATH=C:\php\;%PATH%

install:
  - cd c:\
  - curl -fsS https://windows.php.net/downloads/releases/php-7.2.4-nts-Win32-VC15-x86.zip -o php.zip
  - 7z x php.zip -oc:\php > nul
  - curl -fsS https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/5.2.0/php_pdo_sqlsrv-5.2.0-7.2-ts-vc15-x86.zip -o sqlsrv.zip
  - 7z x sqlsrv.zip -oc:\php\ext * > nul
  - cd c:\php
  - copy php.ini-production php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo extension=php_pdo_sqlsrv.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - curl -fsS https://windows.php.net/downloads/pecl/releases/wincache/2.0.0.8/php_wincache-2.0.0.8-7.2-nts-vc15-x86.zip -o wincache.zip
  - 7z x wincache.zip -oc:\php\ext php_wincache.dll > nul
  - echo extension=php_wincache.dll >> php.ini
  - echo wincache.enablecli = 1 >> php.ini<commit_msg>Download nts extension and sqlsrv base driver.<commit_after>build: false
shallow_clone: false
platform: 'x86'
clone_folder: c:\projects\cakephp

cache:
  - '%LOCALAPPDATA%\Composer'
  - '%APPDATA%\Composer'

branches:
  only:
    - master
    - 3.next
    - 4.x
environment:
  global:
    PHP: "C:/PHP"

  matrix:
      - db: 2012
        db_dsn: 'sqlserver://sa:Password12!@.\SQL2012SP1/cakephp?MultipleActiveResultSets=false'

services:
  - mssql2012sp1

init:
  - SET PATH=C:\php\;%PATH%

install:
  - cd c:\
  - curl -fsS https://windows.php.net/downloads/releases/php-7.2.4-nts-Win32-VC15-x86.zip -o php.zip
  - 7z x php.zip -oc:\php > nul
  - curl -fsS https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/5.2.0/php_pdo_sqlsrv-5.2.0-7.2-nts-vc15-x86.zip -o pdosqlsrv.zip
  - 7z x pdosqlsrv.zip -oc:\php\ext * > nul
  - curl -fsS https://windows.php.net/downloads/pecl/releases/sqlsrv/5.2.0/php_sqlsrv-5.2.0-7.2-nts-vc15-x86.zip -o sqlsrv.zip
  - 7z x sqlsrv.zip -oc:\php\ext * > nul
  - cd c:\php
  - copy php.ini-production php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo extension=php_sqlsrv.dll >> php.ini
  - echo extension=php_pdo_sqlsrv.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - curl -fsS https://windows.php.net/downloads/pecl/releases/wincache/2.0.0.8/php_wincache-2.0.0.8-7.2-nts-vc15-x86.zip -o wincache.zip
  - 7z x wincache.zip -oc:\php\ext php_wincache.dll > nul
  - echo extension=php_wincache.dll >> php.ini
  - echo wincache.enablecli = 1 >> php.ini
{'fraction_non_alphanumeric': 0.16019261637239166, 'fraction_numerical': 0.0420545746388443, 'mean_word_length': 2.924433249370277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 48, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1295380', 'n_tokens_mistral': 1446, 'n_tokens_neox': 1320, 'n_words': 212}