<commit_before># Test against the latest version of this Node.js version
environment:
  nodejs_version: "6"

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of Node.js or io.js
  - ps: Install-Product node $env:nodejs_version
  - cinst -y php
  - SET PATH=C:\php\;%PATH%
  # yarn supports
  - yarn install

cache:
 - node_modules
 - "%LOCALAPPDATA%/Yarn"

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  - yarn --version
  # run tests
  - yarn test

# Don't actually build.
build: off

# Branches
branches:
  only:
  - develop
skip_tags: true<commit_msg>fix: php installation<commit_after># Test against the latest version of this Node.js version
environment:
  nodejs_version: "6"

init:
  - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
  - SET COMPOSER_NO_INTERACTION=1
  - SET PHP=1

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of Node.js or io.js
  - ps: Install-Product node $env:nodejs_version
  # Install openssl
  - cinst OpenSSL.Light > tmp\openssl-install.log
  # Install php
  - IF EXIST c:\tools\php (SET PHP=0)
  - IF %PHP%==1 cinst --params '"/InstallDir:C:\tools\php"' -i -y php --version %php_ver_target% --force > tmp\php-install.log 2>&1
  - IF %PHP%==1 cd c:\tools\php
  - IF %PHP%==1 copy php.ini-production php.ini /Y
  - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
  - IF %PHP%==1 echo extension_dir=ext >> php.ini
  - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
  - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
  - IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
  # Install composer
  - IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
  - IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.4.2/composer.phar)
  - composer self-update --no-progress --ansi
  # yarn supports
  - yarn install

cache:
  - '%LOCALAPPDATA%\Composer\files -> composer.lock'
  - composer.phar
  - C:\ProgramData\chocolatey\bin -> .appveyor.yml
  - C:\ProgramData\chocolatey\lib -> .appveyor.yml
  - c:\tools\php -> .appveyor.yml
  - node_modules
  - "%LOCALAPPDATA%/Yarn"

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  - yarn --version
  # run tests
  - yarn test

# Don't actually build.
build: off

# Branches
branches:
  only:
  - develop
skip_tags: true
{'fraction_non_alphanumeric': 0.1343042071197411, 'fraction_numerical': 0.008090614886731391, 'mean_word_length': 3.1844331641285955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 1, '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': '4171466', 'n_tokens_mistral': 912, 'n_tokens_neox': 871, 'n_words': 242}