<commit_before>version: "{build}"

platform: x64

branches:
  only:
    - master

clone_folder: c:\gopath\src\github.com\mobingi\mobingi-cli

environment:
  GOPATH: c:\gopath

install:  
  - echo %PATH%
  - echo %GOPATH%
  - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
  - go version
  - go env

build_script:
  - go build -v
  - go test -v ./pkg/debug
  - go test -v ./pkg/pretty
  - go test -v ./cmd
  - go test -v ./client

after_build:
  - 7z a mobingi-cli-%APPVEYOR_REPO_TAG_NAME%-windows-amd64.zip %APPVEYOR_BUILD_FOLDER%\mobingi-cli.exe
  - dir /w
  
artifacts:
  - path: mobingi-cli-$(appveyor_repo_tag_name)-windows-amd64.zip
    name: mobingi-cli

deploy:
  description: 'Should be updated'<commit_msg>[ci skip] Update release label.<commit_after>version: "{build}"

platform: x64

branches:
  only:
    - master

clone_folder: c:\gopath\src\github.com\mobingi\mobingi-cli

environment:
  GOPATH: c:\gopath

install:  
  - echo %PATH%
  - echo %GOPATH%
  - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
  - go version
  - go env

build_script:
  - go build -v
  - go test -v ./pkg/debug
  - go test -v ./pkg/pretty
  - go test -v ./cmd
  - go test -v ./client

after_build:
  - 7z a mobingi-cli-%APPVEYOR_REPO_TAG_NAME%-windows-amd64.zip %APPVEYOR_BUILD_FOLDER%\mobingi-cli.exe
  - dir /w
  
artifacts:
  - path: mobingi-cli-$(appveyor_repo_tag_name)-windows-amd64.zip
    name: mobingi-cli

deploy:
  description: 'To be updated...'
{'fraction_non_alphanumeric': 0.14395527603074773, 'fraction_numerical': 0.009783368273934312, 'mean_word_length': 2.8598382749326148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2582840', 'n_tokens_mistral': 617, 'n_tokens_neox': 597, 'n_words': 123}