<commit_before>build: false
shallow_clone: true
platform: 'x86'
branches:
  except:
    - gh-pages

services:
  - mysql56
  - postgresql93

install:
  # postgresql setup
  - SET PATH=C:\Program Files\PostgreSQL\9.3\bin\;%PATH%
  - SET PGUSER=postgres
  - SET PGPASSWORD=<PASSWORD>!
  - createdb codeception_test
  # mysql setup
  - SET PATH=C:\Program Files\MySql\MySQL Server 5.6\bin\;%PATH%
  - mysql -uroot -pPassword12 -e "CREATE DATABASE codeception_test"
  # php setup
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Files\OpenSSL;%PATH%
  - cinst -y curl
  - SET PATH=C:\Program Files\curl;%PATH%
  - cinst -y php
  - cd c:\tools\php
  - copy php.ini-production php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_curl.dll >> php.ini
  - echo extension=php_pdo_mysql.dll >> php.ini
  - echo extension=php_pdo_pgsql.dll >> php.ini
  - echo extension=php_pgsql.dll >> php.ini
  - SET PATH=C:\tools\php;%PATH%
  - cd %APPVEYOR_BUILD_FOLDER%
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-dist -n --no-ansi

test_script:
  - php codecept run cli --no-colors -n --skip-group coverage
  - php codecept run unit -g core -g appveyor --no-colors -n<commit_msg>create databases in before_test<commit_after>build: false
shallow_clone: true
platform: 'x86'
branches:
  except:
    - gh-pages

services:
  - mysql56
  - postgresql93

install:
  # databases setup
  - SET PATH=C:\Program Files\MySql\MySQL Server 5.6\bin\;%PATH%
  - SET PGUSER=postgres
  - SET PGPASSWORD=<PASSWORD>!
  - SET PATH=C:\Program Files\PostgreSQL\9.3\bin\;%PATH%
  # php setup
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Files\OpenSSL;%PATH%
  - cinst -y curl
  - SET PATH=C:\Program Files\curl;%PATH%
  - cinst -y php
  - cd c:\tools\php
  - copy php.ini-production php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_curl.dll >> php.ini
  - echo extension=php_pdo_mysql.dll >> php.ini
  - echo extension=php_pdo_pgsql.dll >> php.ini
  - echo extension=php_pgsql.dll >> php.ini
  - SET PATH=C:\tools\php;%PATH%
  - cd %APPVEYOR_BUILD_FOLDER%
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-dist -n --no-ansi

before_test:
  - createdb codeception_test
  - mysql -uroot -pPassword12 -e "CREATE DATABASE codeception_test"

test_script:
  - php codecept run cli --no-colors -n --skip-group coverage
  - php codecept run unit -g core -g appveyor --no-colors -n
{'fraction_non_alphanumeric': 0.1366775717920756, 'fraction_numerical': 0.008724100327153763, 'mean_word_length': 3.125937031484258, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, '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': '2913231', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1036, 'n_words': 235}