<commit_before>build: false
shallow_clone: true
platform: 'x86'
clone_folder: c:\projects\cakephp
branches:
  only:
    - 3.0
environment:
  global:
    db_class: 'Cake\Database\Driver\SqlServer'
    db_database: 'cakephp'
    db_login: 'sa'
    db_password: '<PASSWORD>!'
    PHP: "C:/PHP"
  matrix:
      - db: 2008
        db_dsn: 'sqlsrv:Server=.\SQL2008R2SP2;Database=cakephp;MultipleActiveResultSets=false'
      - db: 2012
        db_dsn: 'sqlsrv:Server=.\SQL2012SP1;Database=cakephp;MultipleActiveResultSets=false'
services:
  - mssql2008r2sp2
  - mssql2012sp1
init:
  - SET PATH=C:\php\;%PATH%
install:
  - cd c:\
  - ps: Start-FileDownload 'http://ci.cakephp.org/php.zip'
  - 7z x php.zip -oc:\php
  - 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_pdo_mysql.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - cd C:\projects\cakephp
  - php -r "readfile('https://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-dist --no-interaction --dev
test_script:
  - sqlcmd -S ".\SQL2008R2SP2" -U sa -P <PASSWORD>! -Q "create database cakephp;"
  - sqlcmd -S ".\SQL2012SP1" -U sa -P <PASSWORD>! -Q "create database cakephp;"
  - cd C:\projects\cakephp
  - vendor\bin\phpunit.bat<commit_msg>Only run 1 SQLServer build.<commit_after>build: false
shallow_clone: true
platform: 'x86'
clone_folder: c:\projects\cakephp
branches:
  only:
    - 3.0
environment:
  global:
    db_class: 'Cake\Database\Driver\SqlServer'
    db_database: 'cakephp'
    db_login: 'sa'
    db_password: '<PASSWORD>!'
    PHP: "C:/PHP"
  matrix:
      - db: 2012
        db_dsn: 'sqlsrv:Server=.\SQL2012SP1;Database=cakephp;MultipleActiveResultSets=false'
services:
  - mssql2012sp1
init:
  - SET PATH=C:\php\;%PATH%
install:
  - cd c:\
  - ps: Start-FileDownload 'http://ci.cakephp.org/php.zip'
  - 7z x php.zip -oc:\php
  - 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_pdo_mysql.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - cd C:\projects\cakephp
  - php -r "readfile('https://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-dist --no-interaction --dev
test_script:
  - sqlcmd -S ".\SQL2012SP1" -U sa -P Password12! -Q "create database cakephp;"
  - cd C:\projects\cakephp
  - vendor\bin\phpunit.bat
{'fraction_non_alphanumeric': 0.1477933629832364, 'fraction_numerical': 0.02497434143003763, 'mean_word_length': 3.25, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 43, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3652561', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1100, 'n_words': 223}