<commit_before>#---------------------------------#
#  Build Script                   #
#---------------------------------#

build_script:
  - ps: .\build.ps1 -Target AppVeyor

#---------------------------------#
# Tests
#---------------------------------#

test: off

#---------------------------------#
#        Branches to build        #
#---------------------------------#

branches:
  only:
    - master
    - develop
    - /release/.*/
    - /hotfix/.*/

#---------------------------------#
#  Transifex                      #
#---------------------------------#
init:
- ps: |
    $encoding = New-Object System.Text.UTF8Encoding($false)
    $text = "[https://www.transifex.com]`r`nhostname = https://www.transifex.com`r`npassword = $env:TRANSIFEX_TOKEN`r`nusername = api"
    [System.IO.File]::WriteAllText("$env:USERPROFILE\.transifexrc", $text, $encoding)
    if (!(Test-Path $env:TRANSLATION_DIR)) { mkdir $env:TRANSLATION_DIR }
install:
- cmd: pip install transifex-client

#---------------------------------#
#  Build Cache                    #
#---------------------------------#

cache:
- Source\packages -> Source\**\packages.config
- tools -> setup.cake<commit_msg>(GH-416) Added translation directories into Cache<commit_after>#---------------------------------#
#  Build Script                   #
#---------------------------------#

build_script:
  - ps: .\build.ps1 -Target AppVeyor

#---------------------------------#
# Tests
#---------------------------------#

test: off

#---------------------------------#
#        Branches to build        #
#---------------------------------#

branches:
  only:
    - master
    - develop
    - /release/.*/
    - /hotfix/.*/

#---------------------------------#
#  Transifex                      #
#---------------------------------#
init:
- ps: |
    $encoding = New-Object System.Text.UTF8Encoding($false)
    $text = "[https://www.transifex.com]`r`nhostname = https://www.transifex.com`r`npassword = $env:TRANSIFEX_TOKEN`r`nusername = api"
    [System.IO.File]::WriteAllText("$env:USERPROFILE\.transifexrc", $text, $encoding)
    if (!(Test-Path $env:TRANSLATION_DIR)) { mkdir $env:TRANSLATION_DIR }
install:
- cmd: pip install transifex-client

#---------------------------------#
#  Build Cache                    #
#---------------------------------#

cache:
- '%TRANSLATION_DIR%'
- Source\packages -> Source\**\packages.config
- tools -> setup.cake
{'fraction_non_alphanumeric': 0.39486754966887416, 'fraction_numerical': 0.0028973509933774835, 'mean_word_length': 1.0622866894197953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '6559190', 'n_tokens_mistral': 680, 'n_tokens_neox': 668, 'n_words': 107}