<commit_before>version: '{build}'
image: 'Visual Studio 2017'

clone_folder: 'c:\go\src\github.com\kleister\kleister-ui'

environment:
  DOCKER_USERNAME:
    secure: '4YzzahbEiMZQJpOCOd1LAw=='
  DOCKER_PASSWORD:
    secure: '<KEY>

install:
  - ps: |
      Install-Product node ''
  - cmd: |
      choco install make
  - cmd: |
      docker version
      go version
build_script:
  - cmd: |
      npm install
      npm run build
  - cmd: |
      make retool generate build

      docker pull microsoft/nanoserver:10.0.14393.1593
      docker build -f Dockerfile.windows -t kleister/kleister-ui:windows .
test_script:
  - cmd: |
      docker run --rm kleister/kleister-ui:windows --help
deploy_script:
  - ps: |
      $ErrorActionPreference = 'Stop';
      if ( $env:APPVEYOR_PULL_REQUEST_NUMBER -Or ! $env:APPVEYOR_REPO_BRANCH.Equals("master")) {
        Write-Host Nothing to deploy.
      } else {
        docker login --username $env:DOCKER_USERNAME --password $env:DOCKER_PASSWORD
        docker push kleister/kleister-ui:windows
      }
<commit_msg>Try to fix the appveyor test<commit_after>version: '{build}'
image: 'Visual Studio 2017'

clone_folder: 'c:\go\src\github.com\kleister\kleister-ui'

environment:
  DOCKER_USERNAME:
    secure: '<KEY>MZQJpOCOd1LAw=='
  DOCKER_PASSWORD:
    secure: '<KEY>

install:
  - set PATH=c:\go\bin;%PATH%
  - Install-Product node ''
  - choco install make
  - docker version
  - go version
build_script:
  - npm install
  - npm run build

  - make retool generate build

  - docker pull microsoft/nanoserver:10.0.14393.1593
  - docker build -f Dockerfile.windows -t kleister/kleister-ui:windows .
test_script:
  - docker run --rm kleister/kleister-ui:windows --help
deploy_script:
  - ps: |
      $ErrorActionPreference = 'Stop';
      if ( $env:APPVEYOR_PULL_REQUEST_NUMBER -Or ! $env:APPVEYOR_REPO_BRANCH.Equals("master")) {
        Write-Host Nothing to deploy.
      } else {
        docker login --username $env:DOCKER_USERNAME --password $env:DOCKER_PASSWORD
        docker push kleister/kleister-ui:windows
      }

{'fraction_non_alphanumeric': 0.11331719128329298, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 2.980732177263969, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '563746', 'n_tokens_mistral': 768, 'n_tokens_neox': 737, 'n_words': 157}